What are the possiable ways to Validate the data in
Actionform/DynaValidatorForm.

In below example.

txtCompany is the property in javabean(cBean).
In a collection(arlCollectionBeans) each row is a javabean(cBean).

Data is displayed by Nested Tags as below.

Example:
I want to validate for "mandatory","integer"

----------------------------------------
<nested:present name="cActionForm" scope="session">
<nested:notEmpty  name="cActionForm"  property="arlCollectionBeans" >
        <nested:size id="recordCount" name="cActionForm"
property="arlCollectionBeans"/>
                <nested:greaterThan name="recordCount"  value="0">
                        <nested:iterate  id="cBean" name="cActionForm"
property="arlCollectionBeans" type="com.example.nested.CBean" indexId="i" >
                                <tr><td><nested:text  property="txtCompany" 
/></td></tr
                        </nested:iterate>
                </nested:greaterThan>
        </nested:notEmpty>
</nested:present>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to