| org.apache.beehive.netui.tags.AbstractSimpleTag org.apache.beehive.netui.tags.html.ErrorBaseTag
All known Subclasses: org.apache.beehive.netui.tags.html.Error, org.apache.beehive.netui.tags.html.Errors,
Field Summary | |
protected String | _bundleName The name of the message bundle, as defined in the page flow's
org.apache.beehive.netui.pageflow.annotations.Jpf.MessageBundle annotation,
where the error messages can be found. | protected String | _locale The session attribute key for the locale. | protected static Locale | defaultLocale The default locale on our server. |
Method Summary | |
protected String | getErrorMessage(ActionMessage report, String bundleName) | protected static boolean | isMissingUserDefaultMessages(PageContext pageContext) Tell whether the given Struts module has no default message bundle defined. | protected static boolean | isMissingUserDefaultMessages(ModuleConfig mc) Tell whether the given Struts module has no default message bundle defined. | final public void | setBundleName(String bundleName) Set the name of the message bundle, as defined in the page flow's
org.apache.beehive.netui.pageflow.annotations.Jpf.MessageBundle annotation, where the error messages
can be found. | final public void | setLocale(String locale) Set the name of the locale attribute. |
_bundleName | protected String _bundleName(Code) | | The name of the message bundle, as defined in the page flow's
org.apache.beehive.netui.pageflow.annotations.Jpf.MessageBundle annotation,
where the error messages can be found. This defaults to org.apache.struts.action.Action.MESSAGES_KEY.
|
_locale | protected String _locale(Code) | | The session attribute key for the locale.
This defaults to org.apache.struts.action.Action.LOCALE_KEY.
|
defaultLocale | protected static Locale defaultLocale(Code) | | The default locale on our server.
|
isMissingUserDefaultMessages | protected static boolean isMissingUserDefaultMessages(PageContext pageContext)(Code) | | Tell whether the given Struts module has no default message bundle defined.
true if the given Struts module has no user-specified default message bundle. |
isMissingUserDefaultMessages | protected static boolean isMissingUserDefaultMessages(ModuleConfig mc)(Code) | | Tell whether the given Struts module has no default message bundle defined.
true if the given Struts module has no user-specified default message bundle. |
setBundleName | final public void setBundleName(String bundleName) throws JspException(Code) | | Set the name of the message bundle, as defined in the page flow's
org.apache.beehive.netui.pageflow.annotations.Jpf.MessageBundle annotation, where the error messages
can be found. If this attribute is not set, the page flow's default message bundle is used.
Parameters: bundleName - the bundle name |
setLocale | final public void setLocale(String locale)(Code) | | Set the name of the locale attribute.
Parameters: locale - the locale attribute name |
|
|