Configuring How Siebel CRM Displays an Error That Occurs on the Siebel Server
If an error occurs on the Siebel Server when Siebel CRM submits a form, then the Siebel Web Engine displays the same page again and includes an error message. The <div od-type="error"> tag specifies the location of this error message. If an error occurs outside of a form submission, then the Siebel Web Engine continues to use the value that is defined in the Error Web Page property of the application object.
You can use the <div od-type="error"> tag to configure how Siebel CRM displays an error that occurs on the Siebel Server. Note the following behavior:
If Siebel CRM encounters no errors when it displays a form, then it skips the contents of the <div od-type="error"> tag.
The only attribute of the <div od-type="error"> tag is a property whose value must equal FormattedHtml. This configuration configures Siebel CRM to display the contents of the error message.
If you do not use a <div od-type="error"> tag in a Siebel web template, then the code creates an error node, which is an instance of the CSSSWEErrorSWX code. Siebel CRM inserts this error node as the first child of the enclosing page or form node.
Siebel CRM displays an error message in plain text. It displays each error message in a separate paragraph.
The enclosing HTML tags determine the font and style of the error message. If the font uses the same color as the background, then the error message is not visible.
To configure how Siebel CRM displays an error that occurs on the Siebel Server
To display the error message in a form, place the following tags in the <div od-type="form"> tag:
<div od-type="error"> <div od-property="FormattedHtml"/> <!--od section error close--> </div>
Make sure you use this tag in all <div od-type="form"> tags.