Carregando...
TagriaLib Documentation v4
formGroupMultiple
AttributeRequiredTypeDescription
indexedfalsejava.lang.BooleanIndicates if input names must be indexed. Default: true
labelfalsejava.lang.StringIndicates the label component
labelKeyfalsejava.lang.StringIndicates the label key (i18n) component
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
varfalsejava.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
atLeastfalsejava.lang.IntegerIndicates the minimum number of lines to be filled
emptyfalsejava.lang.BooleanIt indicates whether the component should start without lines

My title

Fields group

																												<html:view>
			<html:form action="#" label="My title">
				<html:formGroup label="Field 1" required="true">
					<html:input required="true" name="field1"/>
				</html:formGroup>
				<html:formGroup label="Field 2">
					<html:input name="field2"/>
				</html:formGroup>
				<html:formGroupMultiple label="Fields group">
					<html:input name="fields3[]"/>
				</html:formGroupMultiple>				
				<html:formToolbar>
				    <html:button state="primary" type="submit" label="Label for submit"/>
				</html:formToolbar>
			</html:form> 
		</html:view>