Hi ivy team,

Now, I need to use the component p:ajaxExceptionHandler which required to configure in faces configuration file (faces-config.xml).

When I looked at this file in Ivy designer, I saw that you have already declared your own custom exception handler as RuntimeLogExceptionHandlerFactory. And inside that class, you always return RuntimeLogExceptionHandler instance

Note: you can refer this link to take an example: https://wmarkito.wordpress.com/2012/04/05/adding-global-exception-handling-using-jsf-2-x-exceptionhandler/ Or primefaces user guide documentation in the 11.3 section (Exception handler)

How can I inject my custom exception handler for using the component p:ajaxExceptionHandler ???

Please help me ivyteam, thank in advance. :)

Vuong Vu

asked 10.03.2017 at 03:33

vhsvuong's gravatar image

vhsvuong
(suspended)
accept rate: 0%


One option would be to use the Error Start Event. This is already described here (also the approach to use a custom exception handler): http://answers.axonivy.com/questions/1532/runtime-exception-handling

Which ivy version do you use?

link

answered 13.03.2017 at 08:49

Alex%20Suter's gravatar image

Alex Suter ♦♦
3.1k122247
accept rate: 84%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×79

Asked: 10.03.2017 at 03:33

Seen: 2,187 times

Last updated: 13.03.2017 at 08:49