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]

Reply via email to