Carregando...
TagriaLib Documentation v4
dataList
AttributeRequiredTypeDescription
idtruejava.lang.StringIndicates the id for the component
fixedfalsejava.lang.BooleanIndicates that component has fixed options
datafalsejava.lang.ObjectIt indicates the collection to be iterated by the component. Supports only Map, Collection and Single objects thats is converted to Collection using immutable Arrays.asList(...).
dataArrayfalsejava.lang.Object[]It indicates the object array to be iterated by the component.Supports only arrays of object
vartruejava.lang.StringIt indicates the name of the variable java to be made available the object of iteration
varStatusfalsejava.lang.StringIt indicates the name of the variable to be available to current 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>