Struts 2 Client-side Validation

2008-02-27 Thread Thaminda Karunanayake
Hi all, Can password confirmation be validated using client side validators in Struts 2 ...? Thanks Thaminda

RE: Struts 2 Client-side Validation

2008-02-27 Thread Deepak Kumar
Hello Thaminda, In strus 2 you can validate the forms using javascript. The good thing in strus 2 is that you don't have to write the code for validating the form. Code is automatically generated pease check http://www.roseindia.net/struts/struts2/struts-2-client-side-validation-exam ple.shtml

Struts 2 client side validation and preparable interceptor?

2008-02-15 Thread jpiser
and they are both ultimately calling an update method that would be the same, so I do not need two action beans that would have the same methods. Thanks for any help you can give! John -- View this message in context: http://www.nabble.com/Struts-2-client-side-validation-and-preparable-interceptor

Re: Struts 2 client side validation and preparable interceptor?

2008-02-15 Thread Laurie Harper
jpiser wrote: I have a couple of questions regarding the preparable interceptor: 1. By implementing the preparable interface alone I can have my prepare() method called before my action. Great, no problem. But If I want to utilize multiple prepare methods, e.g. prepareInput(),

Struts 2: client side validation message kept displaying repeatedly

2008-01-07 Thread Cheng Wei Lee
I enabled client side validation for a form, when the user submits, the validation kicks in and the messages are shown. If the user didn't make any changes and proceed to submit again, the set messages are shown again. The messages kept increasing. Is there a way to clear the old messages before

struts 2 client side validation with JBoss (portal server)

2007-08-28 Thread Gervai, Tamas (GE Money, consultant)
Hello, I tried to use client side validation on my portal (portlet) with struts 2. It seems to me, that struts 2 just failed to generate client side validation JavaScript. My question is, is this a known bug, known defect or it should not work anyway? It seems just the JavaScript from the end

Re: struts 2 client side validation with JBoss (portal server)

2007-08-28 Thread Nils-Helge Garli
Client side validation is not currently supported in portlets. You might get it to work, but there are unresolved issues with escaping/namespaces etc of javascript function names and variables. You can register it as a JIRA issue, and hopefully we'll be able to resolve it in a future release.

Struts 2 Client Side Validation

2007-07-12 Thread Néstor Boscán
Hi I'm trying to use Struts 2 with client side validation. I would like to use a theme that does not add any HTML to the form, fields and error messages. I'm working with simple theme but it's not generating the JavaScript code to do the validation and the s:fielderror/ tag is generation

RE: Struts 2 Client Side Validation

2007-07-12 Thread Deepak Kumar
HI, Please check http://www.roseindia.net/struts/struts2/struts-2-client-side-validation-exam ple.shtml Thanks -Original Message- From: Néstor Boscán [mailto:[EMAIL PROTECTED] Sent: Friday, July 13, 2007 1:05 AM To: user@struts.apache.org Subject: Struts 2 Client Side Validation Hi