# com.bea.wlw.netui.tags.html
BindingUpdateErrors Class

public class BindingUpdateErrors
extends `AbstractBaseTag`

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

These errors are treated as warnings. By default, this tag is only active in Development mode and the warning are not displayed in Production mode. The tag is intended for development use.

Attribute Descriptions
Attribute | Required | Runtime Expression Evaluation | Data Bindable
--- | --- | --- | ---
alwaysReport | No | No | No
This attribute will override the default behavior of only showing errors in iterative development mode, so they are also shown in production mode.
expression | No | No | No
This attribute will display errors only for the specified expression.

Related Topics

<netui:bindingUpdateErrors> Tag Sample

Hierarchy
  `Object`
  `TagSupport`
  `BodyTagSupport`
  `AbstractBaseTag`
  `BindingUpdateErrors`

All Implemented Interfaces
  `BodyTag`, `IterationTag`, `Serializable`, `Tag`

## Field Summary

Fields from com.bea.wlw.netui.tags`.`AbstractBaseTag``
``ATTR_GENERAL`, `ATTR_GENERAL_EXPRESSION`, `ATTR_JAVASCRIPT`, `ATTR_STYLE`, `CLASS`, `ID`, `JAVASCRIPT_STATUS`, `NAME`, `NETUI_UNIQUE_CNT`, `ONCLICK`, `ONDBLCLICK`, `ONKEYDOWN`, `ONKEYPRESS`, `ONKEYUP`, `ONMOUSEDOWN`, `ONMOUSEMOVE`, `ONMOUSEOUT`, `ONMOUSEOVER`, `ONMOUSEUP`, `STYLE`, `TABINDEX``

Fields from javax.servlet.jsp.tagext`.`BodyTagSupport``
`bodyContent`

Fields from javax.servlet.jsp.tagext`.`TagSupport``
`id, pageContext`

Fields from interface javax.servlet.jsp.tagext`.`BodyTag``
`EVAL_BODY_BUFFERED, EVAL_BODY_TAG`

Fields from interface javax.servlet.jsp.tagext`.`IterationTag``
`EVAL_BODY_AGAIN`

Fields from interface javax.servlet.jsp.tagext`.`Tag``
`EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE`

## Constructor Summary

BindingUpdateErrors()

## Method Summary

`public int` | `doStartTag`() Render the specified error messages if there are any.
`public `String`` | `getExpression`() Returns the expression to match for binding errors.
`public `String`` | `getTagName`() Return the name of the Tag.
`public boolean` | `isAlwaysReport`() Returns `true` if errors are reported in production mode.
`protected void` | `localRelease`() Release any acquired resources.
`public void` | `setAlwaysReport`(boolean alwaysReport) Set the value which will override the default behavior of not showing errors in production mode.
`public void` | `setExpression`(`String` expression) Sets the expression to match for binding errors.

Methods from `com.bea.wlw.netui.tags.`AbstractBaseTag``
``addTagIdMapping`, `evaluateAttributeToString`, `filter`, `filter`, `getJavaScriptUtils`, `getNearestForm`, `getScriptReporter`, `getUserLocale`, `registerTagError`, `release`, `renderAttribute`, `rewriteName`, `write``

Methods from `javax.servlet.jsp.tagext.`BodyTagSupport``
`doAfterBody, doEndTag, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent`

Methods from `javax.servlet.jsp.tagext.`TagSupport``
`doAfterBody, doEndTag, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue`

Methods from class `java.lang.`Object``
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Methods from interface `javax.servlet.jsp.tagext.`BodyTag``
`doInitBody, setBodyContent`

Methods from interface `javax.servlet.jsp.tagext.`IterationTag``
`doAfterBody`

Methods from interface `javax.servlet.jsp.tagext.`Tag``
`doEndTag, doStartTag, getParent, release, setPageContext, setParent`

## Constructor Detail

### BindingUpdateErrors

    public BindingUpdateErrors()

## Method Detail

### doStartTag() Method

    public int doStartTag()
         throws JspException

Render the specified error messages if there are any.

Overrides
  `BodyTagSupport.doStartTag()`

#### Exceptions

``JspException``
  if a JSP exception has occurred

### getExpression() Method

    public String getExpression()

Returns the expression to match for binding errors. If an expression is set, only binding errors for that expression will be displayed. Otherwise, all errors will be displayed.

#### Returns

the expression being match

### getTagName() Method

    public String getTagName()

Return the name of the Tag.

Overrides
  `AbstractBaseTag.getTagName()`

### isAlwaysReport() Method

    public boolean isAlwaysReport()

Returns `true` if errors are reported in production mode. The default behavior is to only display errors in interative development.

#### Returns

the boolean value indicating if errors are reported in production mode.

### localRelease() Method

    protected void localRelease()

Release any acquired resources.

Overrides
  `AbstractBaseTag.localRelease()`

### setAlwaysReport(boolean) Method

    public void setAlwaysReport(boolean alwaysReport)

Set the value which will override the default behavior of not showing errors in production mode.

#### Parameters

alwaysReport
  a boolean that if `true` will cause the errors to always be displayed. The default is `false`

### setExpression(String) Method

    public void setExpression(String expression)

Sets the expression to match for binding errors. If an expression is set, only binding errors for that expression will be displayed. Otherwise, all errors will be displayed.

#### Parameters

expression
  The expression to match against.