
I've decided to tackle the issue using a little AJAX to capture the error and retrieve a "nice" user-friendly message.
It also gives me the opportunity to log the error, as well as relevant session information.
Check out Friendly Exception Messages with source code.
The code uses Apex built-in javascript, so can be used on any application (no need for ExtJS).
5 comments:
very, Very, VERY NICE!
Hello, I like your custom error page.
I created the template and the process but I don't know how to make APEX use this new template.
I searched in the documentation and google, but it seems everybody knows how to do it, because nobody ask about it.
Can you please explain how integrate this Error Template to an application?
Thanks
You set the error template in the Theme> Component Defaults section.
Hi mark,
Thank you for your help in sorting out the error messages.
I have followed your steps and created the template and the process. However, when I hit an error, even though it is displaying my error page, it is also showing the default message at the top of the page.
It appears to be related to the #BOX_BODY# in the template, but I can't seem to remove it either.
Do you know why this would be? Have I missed anything?
Thank you,
Chand
Hi Chand
You will need to set up a demo for me to look at.
Post a Comment