struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hanmay Udgiri" <hanmayya.udg...@gmail.com>
Subject Re: Sturts form validation
Date Wed, 02 Aug 2006 15:22:38 GMT
hi
curently i am doing like this only??
but there any other way to call the validate mehtod of all the forms????

On 8/2/06, Monkeyden <monkeyden@gmail.com> wrote:
>
> 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
> >
> >
>
>


-- 
Thanks and Regards
Hanmayya Udgiri

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