hmm ... that's not my experience - the dynamic parts are rendered as they
should, but all the static javascript is then rendered too (instead of just
the relevant static methods).  I haven't tested 1.2 though.

Marino

"Joe Germuska" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> At 8:55 AM +1100 3/15/04, Kunal H. Parikh wrote:
> >Hi All!
> >
> >I am attempting to use Struts Validator.
> >
> >All works well, but I am only using the "required" validation in my code.
> >
> >However, the JavaScript that gets generated, include other functions like
> >checkEmail, minLength, etc. etc.
> >
> >Is this expected behaviour?
>
> This is what happens when the "formName" you specify in the
> html:javascript tag is not found by the validator.
>
> Since Struts 1.2.0 (and a little before in the nightlies, of course),
> this condition causes a JSPException to be thrown instead.
>
> Joe
>
>
> -- 
> Joe Germuska
> [EMAIL PROTECTED]
> http://blog.germuska.com
>        "Imagine if every Thursday your shoes exploded if you tied them
> the usual way.  This happens to us all the time with computers, and
> nobody thinks of complaining."
>              -- Jef Raskin




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

Reply via email to