Re: DynaValidatorForm and Multi-page validation

2003-09-16 Thread Natalie D Rassmann
When I type to add the page property as a java.lang.Integer, I get a null
pointer exception in the struts validator.  I am using Struts 1.1 Final
Release.  What were you using?

Natalie

Erez Efrati wrote:

 I use it in my application and I added to my DynaValidationForm
 configuration a 'page' property of type java.lang.Integer, and it works.

 Erez

 -Original Message-
 From: Natalie D Rassmann [mailto:[EMAIL PROTECTED]
 Sent: Monday, September 15, 2003 3:11 PM
 To: Struts Users Mailing List
 Subject: DynaValidatorForm and Multi-page validation

 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]

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

RE: DynaValidatorForm and Multi-page validation

2003-09-16 Thread Ruben Carvalho
You don't have to add the page property to your form since both ValidatorForm and 
DynaValidatorForm have teh attribute protected int page. What you have to do, and 
that's where I have my problem, is to put a value in it. I'll send my question in a 
different mail.
 
Ruben Carvalho
 

-Mensagem original- 
De: Natalie D Rassmann [mailto:[EMAIL PROTECTED] 
Enviada: ter 16-09-2003 12:27 
Para: Struts Users Mailing List 
Cc: 
Assunto: Re: DynaValidatorForm and Multi-page validation



When I type to add the page property as a java.lang.Integer, I get a null
pointer exception in the struts validator.  I am using Struts 1.1 Final
Release.  What were you using?

Natalie

Erez Efrati wrote:

 I use it in my application and I added to my DynaValidationForm
 configuration a 'page' property of type java.lang.Integer, and it works.

 Erez

 -Original Message-
 From: Natalie D Rassmann [mailto:[EMAIL PROTECTED]
 Sent: Monday, September 15, 2003 3:11 PM
 To: Struts Users Mailing List
 Subject: DynaValidatorForm and Multi-page validation

 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]



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

DynaValidatorForm and Multi-page validation

2003-09-15 Thread Natalie D Rassmann
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]

Re: DynaValidatorForm and Multi-page validation

2003-09-15 Thread Anand M S
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]


RE: DynaValidatorForm and Multi-page validation

2003-09-15 Thread David G Friedman
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]



Re: DynaValidatorForm and Multi-page validation

2003-09-15 Thread Thomas Cornet
There are APIs which handle wizard-based forms in Struts, such as Struts 
Wizard (http://sourceforge.net/projects/strutswizard/) or Struts WorkFlow 
(http://www.livinglogic.de/Struts/introduction.html)...

HTH,

Thomas

At 23:15 15/09/2003, you wrote:
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]


RE: DynaValidatorForm and Multi-page validation

2003-09-15 Thread Erez Efrati
I use it in my application and I added to my DynaValidationForm
configuration a 'page' property of type java.lang.Integer, and it works.

Erez

-Original Message-
From: Natalie D Rassmann [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 15, 2003 3:11 PM
To: Struts Users Mailing List
Subject: DynaValidatorForm and Multi-page validation

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]