multi-form page validation problem (client side)

2003-09-04 Thread Sieber Martin
Hi, I'm having problems when validating a multiform page. I have 4 forms on a single page and I've set up the validation framework for them. When I insert the html:javascript tag on the jsp page to create the dynamic code, it creates sth like this: script type=text/javascript

Re: multi-form page validation problem (client side)

2003-09-04 Thread Thomas Cornet
The html:javascript tag has a parameter named 'statisJavascript' which says if Struts has to render all static code (i.e. the validations functions). So, if you have several form in a page, you should write something like this : html:javascript formName=formA / html:javascript formName=formB

RE: multi-form page validation problem (client side)

2003-09-04 Thread Sieber Martin
Maybe I didn't make myself clear. This is not about the static code, but about the dynamic code. If you read my original posting, than you will see that I have put the static JavaScript already to false: html:javascript formName=frm_ccd_clm_Filter staticJavascript=false dynamicJavascript=true /

RE: multi-form page validation problem (client side)

2003-09-04 Thread Sieber Martin
];)); } Cheers, Martin -Original Message- From: Thomas Cornet [mailto:[EMAIL PROTECTED] Sent: Thursday, September 04, 2003 17:35 To: Struts Users Mailing List Subject: Re: multi-form page validation problem (client side) The html:javascript tag has a parameter named 'statisJavascript