Carregando...
TagriaLib Documentation v4
dataList
AttributeRequiredTypeDescription
idtruejava.lang.StringIndicates the id for 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
fixedfalsejava.lang.BooleanIndicates that component has fixed options
varfalsejava.lang.StringIt indicates the name of the variable java to be made available the object of iteration
<html:view>
			<html:input name="dl" list="myDatalist1"/>
			<html:dataList id="myDatalist1" data="${ persons }" var="person">
				<html:dataListOption value="${ person.id }">
					${ person.name }
				</html:dataListOption>
			</html:dataList>
		</html:view>