Hello all,
As of SAP NetWeaver Enhancement Package 2 for Portal, a new method for customizing the traditional Portal (PRT) error pages was introduced:
The technique to customize the PRT error page is by developing a custom error page (represented by a Portal Component) and registering this error page to the Portal Runtime engine. As a result, the custom component will be displayed as the error page, instead of the PRT out-of-the-box error page.
Step-by-step guide to customize the error page:
1. Develop a customer error page component
2. Register your custom component to the Portal runtime environment
3. Restart the server (don't forget this step, otherwise your component will not get registered to the PRT)
Your new customized error page is ready!
You can download a (very trivial) sample error page which will be your starting point for developing your own custom error page. The errorComponent of this application is: CustomError.CustomErrorPage
For more details, please refer to the official documentation: help.sap.com -> SAP Enhancement Package 2 -> Configuring the Portal Runtime Properties (Enhanced)
Hope you will find this helpful!
Aviad Rivlin