Re: [Fwd: Having problems with Struts validation framework]

2006-11-26 Thread Laurie Harper
More simply, you can use the tag to generate your cancel button. For your second question, no, there's no way for different buttons to invoke different actions (at least, not without some hokey Javascript hackery), but you can have different buttons call different methods on the *same* actio

Re: [Fwd: Having problems with Struts validation framework]

2006-11-24 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robin, All you have to do is set the name of your button to Globals.CANCEL_NAME (not that exact text, but use that constant to set the "name" attribute of that submit button element). - -chris robin bajaj wrote: > Hello folks, > I found a little iss

[Fwd: Having problems with Struts validation framework]

2006-11-23 Thread robin bajaj
Hello folks, I found a little issue with the action that's being called. Please dis-regard my previous mail reporting this issue. Its resolved now. However, I have another related issue. My loyaltyPAge.jsp has two buttons - Exit and continue. I want the validation to occur only when "Continue" i