NetUI Tag Library Documentation (Version 1.0.1)

netui
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
    [bundleName="string_bundleName"]
    [locale="string_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
bundleName
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The name of the message bundle, as defined in the page flow's Jpf.MessageBundle annotation. This defaults to org.apache.struts.action.Action.MESSAGES_KEY.
locale
Required: No  |   Type: String  |   Supports runtime evaluation / JSP Expression Language: Yes

The name of the session attribute key for the user's locale. This defaults to org.apache.struts.action.Action.LOCALE_KEY.

Example

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

 <netui:errors bundleName="errorMessages" />


Tag Information
Tag Classorg.apache.beehive.netui.tags.html.Errors
TagExtraInfo ClassNone
Body Contentempty
Display NameNone