Hi,
I have a object called Record as a form property.
Record has name, status etc as its properties.
In the jsp
I have
<bean:write property="record.name" name="exampleForm" />
I want to validate the name as a required field in validation.xml file.
Is this the way to do it?
<formset>
<form name="exampleForm" >
<field property="record.name" depends="required">
<arg0 key="record.name" resource="false"/>
</field>
</formset>
Can the field property have a value similar to this? I mean not a direct form
property, but
a nested property?
Thanks.
---------------------------------
Do you Yahoo!?
Better first dates. More second dates. Yahoo! Personals