Thanks Matt,

Each of the jsp's has its own <html:form> tag. The one jsp is importing
the second one. When a submit happens on the second one, it looks like
only the "parent" gets validated?

 

 

________________________________

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt
Raible
Sent: 05 March 2007 02:29 PM
To: users@appfuse.dev.java.net
Subject: Re: [appfuse-user] struts client side validation on imported
jsp

 

As far as I know, this should be possible.  Struts doesn't really care
how you structure  your form, it's more about what the request and its
parameters look like when you submit the form.  If you have two
<html:form> tags in the same page, I don't believe Struts supports
validating both of those - unless you're submitting to two different
actions. 

Matt

On 3/5/07, Travers Snyman <[EMAIL PROTECTED]> wrote:

Is it possible to perform client-side Struts validation on a form
represented with a jsp imported by another jsp ? If you have formA ,
jspA and formB jspB with jspA using a <c:import for jspB. One of the
proterties of fomB has struts validation tag - how can I perform
validation on this When submitting B.

 

Travers




-- 
http://raibledesigns.com 

Reply via email to