Anand,

The DynaValidatorForm already has a getPage()/setPage()
set of functions.  Just use those.  My common two problems
were a little different:

a) forgetting to use the 'page="X"' in my
        html:javascript tag

b) forgetting to use the formName="someFunctionName"
        in the html:javascript tag when I was using
        ValidatorActionForms or DynaValidatorActionForms

I hope this helps,
David

-----Original Message-----
From: Anand M S [mailto:[EMAIL PROTECTED]
Sent: Monday, September 15, 2003 5:16 PM
To: [EMAIL PROTECTED]
Subject: Re: DynaValidatorForm and Multi-page validation


Hi,
I was also having the same problem, and I dropped validation frame work for
multi page validation and using for regular validation. If you get answer,
please let me know at [EMAIL PROTECTED]

Thanks,
Anand


>From: Natalie D Rassmann <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
>To: Struts Users Mailing List <[EMAIL PROTECTED]>
>Subject: DynaValidatorForm and Multi-page validation
>Date: Mon, 15 Sep 2003 09:10:54 -0400
>
>Hi -
>
>I am having trouble with my DynaValidatorForm and Multi-page
>validation.  It does not seem to utilize the page property.
>I tried putting in a page property but I get Struts errors.  When I add
>the page property to the struts-config file for that form, and I add the
>page property as an integer, I get a Null pointer exception.  When I put
>the page property as a string, I get a ClassCastException.  No matter
>what I do, I can't get the page validation to work.  Does anyone have a
>clue?  Can anyone help me??
>
>Thanks in advance,
>
>Natalie
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]

_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
http://join.msn.com/?page=features/virus


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


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

Reply via email to