I´ve submitted a jira(improvement) to use validation with simple theme. I´ve suggested use alert instead.
Herrera strutstwouser wrote: > > if validate=true , js function (pure client side) onsubmit is invoked on > the > form in xhtml theme ; and in ajax theme it adds and onblur validate() to > every field element and validates it using ajax. Both of these use the > rules > defined in your validation xml file. > > So setting validate=true is for invoking validation before submit > > > > On 8/30/07, Pavel Sapozhnikov <[EMAIL PROTECTED]> wrote: >> >> Hi I have a question about this <s:form validate="true"> attribute. So >> when >> I put it in s:form it says its only useful with xhtml or ajax themes. >> Why. >> I >> read the documentation on that thing it says that this is only javascript >> thing. What I don't understand is that it still says to have xml file or >> validate() method. But if I have either of those 2 -its gonna validate so >> what NEW does validate="true" in s:form give me. Thanks. >> >> -- >> Pavel Sapozhnikov >> xFact, Inc >> [EMAIL PROTECTED] >> > > -- View this message in context: http://www.nabble.com/%3Cs%3Aform-validate%3D%22true%22%3E-tf4353728.html#a12411233 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]