Carregando...
TagriaLib Documentation v4
target
AttributeRequiredTypeDescription
datafalsejava.lang.StringIndicates which attribute of the object must be used
valuefalsejava.lang.StringIndicates the fixed value to be used in target val
renderedfalsejava.lang.BooleanIt indicates whether the component should be rendered. Default : true
typetruejava.lang.StringIt indicates the type of iteration being used. Options: val, html
targettruejava.lang.StringIndicates the component name to be achieved
<html:view>
			
			<html:input name="input1" value="Valor 0"/>
			<html:input name="input2" disabled="true"/>
			
			<html:jsEvent attachTo="input1" event="blur">
			     checkForUrl();
			</html:jsEvent>
		
			<ajax:function name="checkForUrl" url="/app/ajax">
				<ajax:parameters>
					<ajax:parameter name="input1" src="input1" type="val" />
				</ajax:parameters>
			    <ajax:onSuccess>
			          <ajax:target type="val" data="field" target="input2"/>
			    </ajax:onSuccess>
			    <ajax:onError>
			           
			    </ajax:onError>
			</ajax:function>
		
		</html:view>