Hi,

I have a form bean  as this one

public class CustomerForm extends ActionForm
{
    private AccountForm accForm = null;
    // other attributes and methods
 
}


My JSP looks like this. It has a form which contains
details of CustomerForm as well as AccountForm inside
CustomerForm.

<html:form action=/add_cust> <!-- CustomerForm is the
form bean of this action mapping -->
   Customer Name <html:text property="name">
   Customer Age  <html:text property="age">

   account num   <html:text property="accForm.number">
   account num   <html:text
property="accForm.balance">
</html:form>

But when I submit the page only the contents of
CustomerForm is validated. AccountForm's validate
method does not get called.

Best Regards,
Chamal.


 
____________________________________________________________________________________
Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates 
(http://voice.yahoo.com)


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

Reply via email to