Questions Tagged With jsfhttps://answers.axonivy.com/tags/jsf/?type=rss&user=vhsvuongquestions tagged <span class="tag">jsf</span>enFri, 10 Mar 2017 03:33:16 -0500How to inject custom exception handler into Ivyhttps://answers.axonivy.com/questions/2488/how-to-inject-custom-exception-handler-into-ivy<p>Hi ivy team,</p> <p>Now, I need to use the component <strong>p:ajaxExceptionHandler</strong> which required to configure in faces configuration file (faces-config.xml). </p> <p>When I looked at this file in Ivy designer, I saw that you have already declared your own custom exception handler as <strong>RuntimeLogExceptionHandlerFactory</strong>. And inside that class, you always return <strong>RuntimeLogExceptionHandler</strong> instance </p> <p>Note: you can refer this link to take an example: <a href="https://wmarkito.wordpress.com/2012/04/05/adding-global-exception-handling-using-jsf-2-x-exceptionhandler/">https://wmarkito.wordpress.com/2012/04/05/adding-global-exception-handling-using-jsf-2-x-exceptionhandler/</a> <strong>Or</strong> primefaces user guide documentation in the 11.3 section (Exception handler)</p> <p>How can I inject my custom exception handler for using the component <strong>p:ajaxExceptionHandler</strong> ???</p> <p>Please help me ivyteam, thank in advance. :)</p> <p>Vuong Vu</p>vhsvuongFri, 10 Mar 2017 03:33:16 -0500https://answers.axonivy.com/questions/2488/how-to-inject-custom-exception-handler-into-ivyjsf