Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to use jsf2 exception handled  RSS feed

 
maxim rong
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i'm a new to jsf2
i want to catch the exception from action, and show it on a pop page, or alert the exception message in JS.
but i don't know how to catch the exception from service(like action, ejb), and show it on client(like page or js).

i'm try to user A4J.Ajax.onError (i use jsf 2 and richfaces4), but there is a js error A4J is not defined.
please help~
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!