<netui:bindingUpdateErrors> Tag
Renders the set of error messages found during the process of resolving
data binding expressions ({pageFlow.firstname}, {request.firstname}, etc.).
<netui:bindingUpdateErrors
[alwaysReport="alwaysReport"]
[expression="expression"] />
Renders the set of error messages found during the process of resolving
data binding expressions ({pageFlow.firstname}, {request.firstname}, etc.).
The tag is intended
for development use, not for error reporting in deployed applications.
Attributes |
alwaysReport |
Required: No | Supports
runtime evaluation: Yes | Data bindable: No |
|
Boolean. 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. |
expression |
Required: No | Supports
runtime evaluation: Yes | Data bindable: No |
|
String. 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. |
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 the command window.
<netui:bindingUpdateErrors />
In this next sample, only binding errors for the expression {actionForm.firstName}
will be displayed on the page and the command window.
<netui:bindingUpdateErrors expression="{actionForm.firstName}"/>