This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes JSF and the fly likes Test if an error has been thrown Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » JSF
Bookmark "Test if an error has been thrown" Watch "Test if an error has been thrown" New topic
Author

Test if an error has been thrown

Jair Rillo Junior
Ranch Hand

Joined: Aug 27, 2008
Posts: 114
Hi there,

If an error is thrown (such as validation error) I'd like to do some things in the JSP.
I know I can use the tag h:messages to show up the errors message, however I'd like to do more.

I thought I could do some thing like this:



Is it possible? How can I test if an error has been thrown?

Thanks in advice.

Regards, Jair Rillo Junior
http://www.jairrillo.com/blog, SCJA 1.0, SCJP 1.4, SCWCD 1.4, SCBCD 5.0, IBM SOA Associate (Test 664).
 
 
subject: Test if an error has been thrown