Skip to Content
avatar image
Former Member

Customize error page

Hi,

We have a requirement to show customized error page when there is a exception in web dynpro program.

We want to catch web dynpro framework exceptions(Eg: JCO) and show the customized error page.

Has anybody implemented this or any suggestions?

Thanks & Regards,

Vijith

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Feb 16, 2009 at 01:35 PM

    Hi Santosh,

    Thanks.

    There is no issue with the way I am using WDPortal navigation, have tested this thoroughly.

    The problem is that whenever I get a exception from web dynpro framework I am unable to catch it and navigate to the custom built error page using WDPortalNavigation.

    Thanks & Regards,

    Vijith

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Vijith,

      try in this way ,

      place the code in the Try and catch block . based on the exception, navigate to the corresponding page uisng wdPortalNavigation.

      please check whether u have the page in the role.

      Thanks and Regards

  • avatar image
    Former Member
    Feb 16, 2009 at 10:54 AM

    Hi Vijith,

    U can put ur code in try and catch block and catch the exception and display ur custom message from message pool.

    in message pool editor , u can declare the exception with customized message .

    u can use these message, when some exception occurs.

    Thanks and regards

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Ensure the iView or page you are calling exists in any Role.

      WDNavigation does not work if the iview is not added with in a role.

      You can hide the iView even after adding to the role by setting the Invisible In Navigation to true

      Hope it helps