|
|
|
|
|
- Overview
- How to?
- Creating a page for managing errors
- Implementing the custom management of errors
- Operating mode
Specific page for displaying the site errors
If an error occurs in the dynamic WEBDEV website, a standard error page is displayed by default. This page informs the Web user of the error that occurred in the site. To customize this error message, simply include the page to use to display the errors in your site. Creating a page for managing errors The page for managing errors is created via the page creation wizard. To create a page for managing errors: - Create a new page:
- Click
in the quick access buttons. - In the window that appears, click "Page" then "Page".
- The page creation wizard starts.
- Click the "Error pages" tab of the wizard:
- Select one of the available error pages:
- Generic error: This generic error page contains only a label and an image and can be customized, for example by using your site's skin template, modifying the message, etc.
- Simple error: This simple error page contains a caption, an image and the title of the WEBDEV error. At runtime, the [%TITLE%] tag is replaced with the title of the error. This page can be customized, for example by using your site's skin template, modifying the message, etc.
- Detailed error: This detailed error page contains:
- an image,
- the title of the WEBDEV error. At runtime, the [%TITLE%] tag is replaced with the title of the error.
- the full error message. At runtime, the [%MSG%] tag is replaced with the title of the error.
- the system message. At runtime, the [%SYS%] tag is replaced with the title of the error.
This page can be customized, for example using your site's skin template, etc.
- Finish the wizard.
- Specify the name of the page to create and validate. The static page corresponding to the selected type of page is automatically created.
Implementing the custom management of errors To specify the project page that will be used to manage the errors: - Display the description window for the current configuration: in the "Project Explorer" pane, display the "Configurations" context menu and select "Description".
- On the "General" tab, select the desired error page:
Note: only static project pages are available.
- Validate.
Operating mode If a page for custom management of errors was defined in the project, this page is automatically displayed if an error occurred when deploying the site. Special case: If error customization had previously been set up via the WEBDEV administrator for this site ("Administration" tab of the WEBDEV administrator), this customization is not retained.. However, if a custom caption was specified in the WEBDEV administrator (for a specific error for example), this caption will be displayed in the error page.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|