Carregando...
TagriaLib Documentation v4
select
AttributeRequiredTypeDescription
idfalsejava.lang.StringIndicates the id for the component
disabledfalsejava.lang.BooleanIt indicates whether the component should be disabled. Default: false
cssClassfalsejava.lang.StringIt indicates a css class to the component
datafalsejava.lang.ObjectIt indicates the collection to be iterated by the component. Single objects is converted to Collection using immutable Arrays.asList(...)
mapfalsejava.util.MapIndicates the map to be iterated in component
requiredfalsejava.lang.BooleanIndicates whether the component form is mandatory in form
fixedfalsejava.lang.BooleanIndicates that component has fixed options
searchablefalsejava.lang.BooleanIndicates that component has searchable feature
valuefalsejava.lang.StringIndicates the value selected in the component
nametruejava.lang.StringIndicates the component name
varfalsejava.lang.StringIt indicates the name of the variable java to be made available the object of iteration
<html:view>
			<html:select name="select1" data="${ persons }" var="person">
				<html:option value="${ person.id }">
					${ person.name }
				</html:option>
			</html:select> 
		</html:view>