struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Monkeyden <monkey...@gmail.com>
Subject Re: Sturts form validation
Date Wed, 02 Aug 2006 08:07:55 GMT
If I understand you correctly....

If you have references to the "subforms" within an "outter form", just call
each subform's validate() method in the outter forms validate() method.
Couldn't tell you how you'll get Struts to auto-populate those subforms
though.

MainActionForm{
validate(...){
mySubForm1.validate(...);
mySubForm2.validate(...);
}
}

On 8/2/06, Hanmay Udgiri <hanmayya.udgiri@gmail.com> wrote:
>
> Hi
> I have a form which consists of around another 5 forms object.
> And each form has its own validation.How to call the validate method of
> the
> each forms??
>
>
> --
> Thanks and Regards
> Hanmayya Udgiri
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message