<netui:errors> Tag

Renders the set of error messages found in the ActionMessages registered in the PageContext at org.apache.struts.action.Action.ERROR_KEY.

Syntax

<netui:errors
    [bundle="bundle"]
    [bundleName="bundleName"]
    [locale="locale"] />

Description

Renders the set of error messages found in the ActionMessages registered in the PageContext at org.apache.struts.action.Action.ERROR_KEY.

The following optional message keys will be utilized if corresponding messages exist for them in the application resources:

Attributes
bundle
Required: No  |   Supports runtime evaluation: Yes  |   Data bindable:

bundleName
Required: No  |   Supports runtime evaluation: Yes  |   Data bindable:

locale
Required: No  |   Supports runtime evaluation: Yes  |   Data bindable:


 
Example

In this sample, the messages from the errorMessages bundle will be used to output the errors.

 <netui:errors bundleName="errorMessages" />