struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deva Pitchai(NatureSoft)" <de...@naturesoft.net>
Subject [iterative nested objects validation problem]
Date Mon, 17 Apr 2006 11:24:47 GMT
Hi all

Any idea of making this as dynamic iterative nested objects in 
validation.xml?


<form name="FormBeanRoomDetail">
<field property="site.room[1].comment" depends="required">
<field property="site.room[2].comment" depends="required">
..
..
..

<arg0 key="asset.name" />
</field>
</form>


One site may have several rooms. And it is not a good way to make the 
array as static 1 & 2s.

Kindly reply with ur thoughts.

Thanks

-- 
Deva


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message