Re: how do i detect the errors in the jsp file?
Philip Luppens <[email protected]> Tue, 12 Dec 2006 02:06:56 CST
| Newsgroups | gmane.comp.java.open-symphony.webwork |
|---|---|
| Message-ID | <10257492.1165910846721.JavaMail.os-j2ee@opensymphony01.managed.contegix.com> |
Iterate through your actionErrors (each Action that extends ActionSupport has a getter for them). You could also use fieldErrors when submitting a form, but if you use the standard xhtml theme with validation, they will show up on the correct field themselves. Btw, ligerdave: I suggest you start reading the documentation. All your questions have been answered either in the docs or on this forum, or can be found with a minimum of effort. --------------------------------------------------------------------- Posted via Jive Forums http://forums.opensymphony.com/thread.jspa?threadID=53104&messageID=106849#106849 --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]