RE: Validation and XHTML

2007-06-20 Thread homerlex
Yes - They are seeing "id" instead of "name" in the generated form tag.  You
are correct about the commons jar.  They had an old version of that.  I just
tested with 1.3.1 and it works fine.

Thanks for your help and the speedy reply.

Regards

-Original Message-
From: Niall Pemberton [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, June 20, 2007 9:13 AM
To: Struts Users Mailing List
Subject: Re: Validation and XHTML

On 6/20/07, lextest <[EMAIL PROTECTED]> wrote:
> Hello,
>
> We have a client using Struts 1.2.9.  They are experiencing a problem when
> trying to use client side validation on a struts page that is using
> html:xhtml.  It's the exact problem described in this bug report:
> http://issues.apache.org/struts/browse/STR-2482
>
> The above link leads me to believe this problem was fixed in 1.2.8.  Any
> idea why we would still be experiencing the problem using 1.2.9?

Saying your client is experiencing the same problem doesn't really
tell us alot. If they are running Struts 1.2.9 then they should see
different markup being rendered for the  (i.e. it should be
rendered with an "id" attribute rather than "name") - is that the
case? If not it would suggest they are not running Struts 1.2.9. If
they do see that then as well as the fixes to Struts - there were also
related changes in Commons Validator - I believe in Validator 1.2.0
(but I would recommend the latest Validator 1.3.1 which is compatible
with Struts 1.2.9) - so they also need to make sure they have upgraded
to that version of validator.

Niall

> Regards.

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



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



Re: Validation and XHTML

2007-06-20 Thread Niall Pemberton

On 6/20/07, lextest <[EMAIL PROTECTED]> wrote:

Hello,

We have a client using Struts 1.2.9.  They are experiencing a problem when
trying to use client side validation on a struts page that is using
html:xhtml.  It's the exact problem described in this bug report:
http://issues.apache.org/struts/browse/STR-2482

The above link leads me to believe this problem was fixed in 1.2.8.  Any
idea why we would still be experiencing the problem using 1.2.9?


Saying your client is experiencing the same problem doesn't really
tell us alot. If they are running Struts 1.2.9 then they should see
different markup being rendered for the  (i.e. it should be
rendered with an "id" attribute rather than "name") - is that the
case? If not it would suggest they are not running Struts 1.2.9. If
they do see that then as well as the fixes to Struts - there were also
related changes in Commons Validator - I believe in Validator 1.2.0
(but I would recommend the latest Validator 1.3.1 which is compatible
with Struts 1.2.9) - so they also need to make sure they have upgraded
to that version of validator.

Niall


Regards.


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



Validation and XHTML

2007-06-20 Thread lextest
Hello,

 

We have a client using Struts 1.2.9.  They are experiencing a problem when
trying to use client side validation on a struts page that is using
html:xhtml.  It's the exact problem described in this bug report:
http://issues.apache.org/struts/browse/STR-2482

 

The above link leads me to believe this problem was fixed in 1.2.8.  Any
idea why we would still be experiencing the problem using 1.2.9?

 

Regards.