<%--
/**
 * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
 *
 * The contents of this file are subject to the terms of the Liferay Enterprise
 * Subscription License ("License"). You may not use this file except in
 * compliance with the License. You can obtain a copy of the License by
 * contacting Liferay, Inc. See the License for the specific language governing
 * permissions and limitations under the License, including but not limited to
 * distribution rights of the Software.
 *
 *
 *
 */

@generated
--%>

<%@ include file="/html/taglib/taglib-init.jsp" %>

<%
Map<String, Object> dynamicAttributes = (Map<String, Object>)request.getAttribute("aui:select:dynamicAttributes");
Map<String, Object> scopedAttributes = (Map<String, Object>)request.getAttribute("aui:select:scopedAttributes");

Map<String, Object> _options = new HashMap<String, Object>();

if ((scopedAttributes != null) && !scopedAttributes.isEmpty()) {
	_options.putAll(scopedAttributes);
}

if ((dynamicAttributes != null) && !dynamicAttributes.isEmpty()) {
	_options.putAll(dynamicAttributes);
}

java.lang.Object bean = (java.lang.Object)request.getAttribute("aui:select:bean");
boolean changesContext = GetterUtil.getBoolean(String.valueOf(request.getAttribute("aui:select:changesContext")));
java.lang.String cssClass = GetterUtil.getString((java.lang.String)request.getAttribute("aui:select:cssClass"));
java.util.Map<java.lang.String, java.lang.Object> data = (java.util.Map<java.lang.String, java.lang.Object>)request.getAttribute("aui:select:data");
boolean disabled = GetterUtil.getBoolean(String.valueOf(request.getAttribute("aui:select:disabled")));
java.lang.String field = GetterUtil.getString((java.lang.String)request.getAttribute("aui:select:field"));
boolean first = GetterUtil.getBoolean(String.valueOf(request.getAttribute("aui:select:first")));
java.lang.String helpMessage = GetterUtil.getString((java.lang.String)request.getAttribute("aui:select:helpMessage"));
java.lang.String id = GetterUtil.getString((java.lang.String)request.getAttribute("aui:select:id"));
boolean ignoreRequestValue = GetterUtil.getBoolean(String.valueOf(request.getAttribute("aui:select:ignoreRequestValue")));
boolean inlineField = GetterUtil.getBoolean(String.valueOf(request.getAttribute("aui:select:inlineField")));
java.lang.String inlineLabel = GetterUtil.getString((java.lang.String)request.getAttribute("aui:select:inlineLabel"));
java.lang.String label = GetterUtil.getString((java.lang.String)request.getAttribute("aui:select:label"));
boolean last = GetterUtil.getBoolean(String.valueOf(request.getAttribute("aui:select:last")));
java.lang.String listType = GetterUtil.getString((java.lang.String)request.getAttribute("aui:select:listType"));
java.lang.String listTypeFieldName = GetterUtil.getString((java.lang.String)request.getAttribute("aui:select:listTypeFieldName"));
boolean localizeLabel = GetterUtil.getBoolean(String.valueOf(request.getAttribute("aui:select:localizeLabel")), true);
java.lang.Class<?> model = (java.lang.Class<?>)request.getAttribute("aui:select:model");
boolean multiple = GetterUtil.getBoolean(String.valueOf(request.getAttribute("aui:select:multiple")));
java.lang.String name = GetterUtil.getString((java.lang.String)request.getAttribute("aui:select:name"));
java.lang.String onChange = GetterUtil.getString((java.lang.String)request.getAttribute("aui:select:onChange"));
java.lang.String onClick = GetterUtil.getString((java.lang.String)request.getAttribute("aui:select:onClick"));
java.lang.String prefix = GetterUtil.getString((java.lang.String)request.getAttribute("aui:select:prefix"));
boolean required = GetterUtil.getBoolean(String.valueOf(request.getAttribute("aui:select:required")));
boolean showEmptyOption = GetterUtil.getBoolean(String.valueOf(request.getAttribute("aui:select:showEmptyOption")));
boolean showRequiredLabel = GetterUtil.getBoolean(String.valueOf(request.getAttribute("aui:select:showRequiredLabel")), true);
java.lang.String suffix = GetterUtil.getString((java.lang.String)request.getAttribute("aui:select:suffix"));
java.lang.String title = GetterUtil.getString((java.lang.String)request.getAttribute("aui:select:title"));
boolean useNamespace = GetterUtil.getBoolean(String.valueOf(request.getAttribute("aui:select:useNamespace")), true);
java.lang.String wrapperCssClass = GetterUtil.getString((java.lang.String)request.getAttribute("aui:select:wrapperCssClass"));

_updateOptions(_options, "bean", bean);
_updateOptions(_options, "changesContext", changesContext);
_updateOptions(_options, "cssClass", cssClass);
_updateOptions(_options, "data", data);
_updateOptions(_options, "disabled", disabled);
_updateOptions(_options, "field", field);
_updateOptions(_options, "first", first);
_updateOptions(_options, "helpMessage", helpMessage);
_updateOptions(_options, "id", id);
_updateOptions(_options, "ignoreRequestValue", ignoreRequestValue);
_updateOptions(_options, "inlineField", inlineField);
_updateOptions(_options, "inlineLabel", inlineLabel);
_updateOptions(_options, "label", label);
_updateOptions(_options, "last", last);
_updateOptions(_options, "listType", listType);
_updateOptions(_options, "listTypeFieldName", listTypeFieldName);
_updateOptions(_options, "localizeLabel", localizeLabel);
_updateOptions(_options, "model", model);
_updateOptions(_options, "multiple", multiple);
_updateOptions(_options, "name", name);
_updateOptions(_options, "onChange", onChange);
_updateOptions(_options, "onClick", onClick);
_updateOptions(_options, "prefix", prefix);
_updateOptions(_options, "required", required);
_updateOptions(_options, "showEmptyOption", showEmptyOption);
_updateOptions(_options, "showRequiredLabel", showRequiredLabel);
_updateOptions(_options, "suffix", suffix);
_updateOptions(_options, "title", title);
_updateOptions(_options, "useNamespace", useNamespace);
_updateOptions(_options, "wrapperCssClass", wrapperCssClass);
%>

<%@ include file="/html/taglib/aui/select/init-ext.jspf" %>

<%!
private static final String _NAMESPACE = "aui:select:";
%>