In JSF you can display validation error’s using <h:messages />. But what I want to do is display these messages using Jnofity (http://www.givainc.com/labs/jnotify_jquery_plugin.htm).
I’ve tried using <script>$.jnotify(<h:messages />, 'error');</script>, but this result in the fact that nothing is displayed than… Maybe using a custom bean is the best solution for this? Or are there others?
Thanks in advance!
Use an
<h:outputText/>component.and in your BackingBean