You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Khalid K." <gr...@maikada.com> on 2003/07/21 19:26:36 UTC

Re: validate() method - and form in session scope (solved)

humm..was a dumb mistake :)  in struts-config  i had validate set to "false"
:)

----- Original Message -----
From: "Khalid K." <gr...@maikada.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Monday, July 21, 2003 10:23 AM
Subject: validate() method - and form in session scope


> Hello all,
>
> If an ActionForm bean's scope is "session", does the validate() method get
> called only once ??
>
> I have several actions that post to the same form, but it seems that the
> validate method is only called once when the form gets created  ????
>
> Any help is appreciated.
>
> Khalid
>
> p.s. i am using Struts 1.0.2
>
>
> ----- Original Message -----
> From: "Guillaume Cormier" <gc...@sympatico.ca>
> To: <st...@jakarta.apache.org>
> Sent: Monday, July 21, 2003 10:19 AM
> Subject: Struts 1.1 Final - Validate Date field in struts-validator.war
>
>
> > I am not able to validate the date field when I am in French Canadian
> Mode.  SomeOne have the same problem ?
> >
> > Details :
> >
> > When I click on "French Canadian | Francais Canadien - On the JavaScript
> Type Form the integer field should fall in a range of 100-200 and the date
> field should have a format of 'dd-MM-yyyy'", Date field should be valid if
I
> enter a date like  ' dd-MM-yyyy '. However, it only valid 'MM/dd/yyyy'.
> >
> > So, when I click on "JavaScript Type Form - with JavaScript Validation
and
> Server Validation", the date field validation stay with 'MM/dd/yyyy'.
> >
> > If someone have the same problem, please send me an email at
> gcormier9@sympatico.ca cause I'm gonna be crazy!!
> >
> >
> > I have tried jsType.jsp with :
> > OS : WinXP and Win2000
> > Browser : IE 6 and Mozilla 1.4
> > Tomcat 4.1.24
> > JAVA 1.4.2
> > Struts 1.1.0
> >
> >
> > Thanks a lot!
> >
> > G Cormier
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org