Mariano Petrakovsky wrote:
I have a Cancel Button in my page... when it's submit, populating error
occurs...
In jsf, it's solutionated by the immediante attribute to false. How is in
struts?...
(When Cancel, i want forward to another page... nothing more :) )
What error do you get on submit? Do you mean you get validation errors? If
so and you're using he Validator framework, you can use <html:cancel/> to
render your cancel button, which will turn off validation when it's
clicked. See:
http://struts.apache.org/userGuide/struts-html.html#cancel
· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
· · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · ·
· · · ·
Here are some more for your collection: . . . . . . .
:-)
--
Laurie, Open Source advocate, Java geek and novice blogger:
http://www.holoweb.net/laurie
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]