netui:bindingUpdateErrors Tag

<netui:bindingUpdateErrors> Tag

Renders the set of error messages found during the process of resolving data binding expressions ({pageFlow.firstname}, {request.firstname}, etc.).

Syntax

<netui:bindingUpdateErrors
    [alwaysReport="boolean_always_report"]
    [expression="string_databinding_expression"]
    [id="id"] />

Description

Renders the set of error messages found during the process of resolving data binding expressions ({pageFlow.firstname}, {request.firstname}, etc.). By default, the error messages are only rendered when WebLogic Server is in Development mode; the messages are not displayed in Production mode. The tag is intended for development use, not for error reporting in deployed applications.

Attributes

alwaysReportBoolean. If isAlwaysReport is set to true, then the errors will be displayed in Production mode as well as in Development mode. Otherwise, the errors will be displayed only in Development mode.
 
RequiredSupports runtime expression evaluationData bindable
NoNoNo

expressionString. The data binding expression to match for binding errors. If an data binding expression is specified, only binding errors for that expression will be displayed. Otherwise, all errors will be displayed.
 
RequiredSupports runtime expression evaluationData bindable
NoNoNo

id
 
RequiredSupports runtime expression evaluationData bindable
NoNo

Sample

In this first sample, because the <netui:bindingUpdateErrors/> tag is unqualified, messages will be displayed if any data binding errors occurred when a form was posted. The messages are displayed on the page and in the Server console.
<netui:bindingUpdateErrors />

In this next sample, only binding errors for the expression {actionForm.firstName} will be displayed.

<netui:bindingUpdateErrors expression="{actionForm.firstName}"/>

Code Sample

[BEA_HOME]/weblogic81/samples/workshop/SamplesApp/WebApp/tagSamples/netui/bindingUpdateErrors/index.jsp

Related Topics

<netui:bindingUpdateErrors> Tag Sample