You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by captain_rhino <gr...@axa-travel-insurance.com> on 2011/11/18 11:07:27 UTC

Validation of List objects

I have a page object with the following

	@Property
	@Persist
	private List<Section> infoList;
	
	@Property
	private Section info;
	
	
My tml then iterates around the list 
	
	
	<t:form t:id="form">
	  <t:loop t:source="infoList" t:value="info" formState="ITERATION">
	    <div style="border: 2px solid #eee; padding: 15px;">
		   	<input class="${info.ClaimTypeMode}" t:type="TextField"
value="info.claimValue" t:id="claimValue" />
			<input t:type="Submit" t:id="confirmClaim" name="confirmClaim"
value="confirm" t:context="info.index"
onclick="setHiddenfield(${info.index})" />
	    </div>
	  </t:loop>					
	</t:form>
	 
	 What are my options for custom validation of each individual info object
in the info list please?  thx in advance.

--
View this message in context: http://tapestry.1045711.n5.nabble.com/Validation-of-List-objects-tp5003868p5003868.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org