RE: Problems Redirecting To Input Page After Vaildation Fails

2004-01-27 Thread Barnett, Brian W.
Personally, I would try to use the same page for add, update and delete, which would solve this problem. If this is not an option for you, you may have to deal with it in ClientAction. Remove the input attribute from your action mapping, add validate=false, and add a couple of forward elements.

RE: Problems Redirecting To Input Page After Vaildation Fails

2004-01-27 Thread Van Riper, Mike
Ciaran, When all else fails, cut and paste. :-) Seriously, I don't know of a way to make the input value dynamic. I wish it could be done like tile definitions with one action mapping extending another, but, I know that is not supported. So, the simplest solution is to have two separate action

RE: Problems Redirecting To Input Page After Vaildation Fails

2004-01-27 Thread Hubert Rabago
- resending: hope this doesn't end up as a duplicate - Another option would be to call the validate() method yourself and return the appropriate forward. add validate=false to your mapping, plus your forms as forwards so you can still configure them in your struts-config: action