public class ThemeTag extends MessageTag
Regards a HTML escaping setting, either on this tag instance, the page level, or the web.xml level.
If "code" isn't set or cannot be resolved, "text" will be used as default message.
Message arguments can be specified via the arguments
attribute or by using nested <spring:argument> tags.
Theme,
ThemeSource,
MessageTag.setCode(java.lang.String),
MessageTag.setText(java.lang.String),
HtmlEscapingAwareTag.setHtmlEscape(boolean),
HtmlEscapeTag.setDefaultHtmlEscape(boolean),
WebUtils.HTML_ESCAPE_CONTEXT_PARAM,
ArgumentTag,
Serialized FormDEFAULT_ARGUMENT_SEPARATORlogger, REQUEST_CONTEXT_PAGE_ATTRIBUTEid, pageContextEVAL_BODY_AGAINEVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE| Constructor and Description |
|---|
ThemeTag() |
| Modifier and Type | Method and Description |
|---|---|
protected org.springframework.context.MessageSource |
getMessageSource()
Use the theme MessageSource for theme message resolution.
|
protected String |
getNoSuchMessageExceptionDescription(org.springframework.context.NoSuchMessageException ex)
Return exception message that indicates the current theme.
|
addArgument, doEndTag, doStartTagInternal, release, resolveArguments, resolveMessage, setArguments, setArgumentSeparator, setCode, setJavaScriptEscape, setMessage, setScope, setText, setVar, writeMessageisDefaultHtmlEscape, isHtmlEscape, setHtmlEscapedoCatch, doFinally, doStartTag, getRequestContextdoAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValueprotected org.springframework.context.MessageSource getMessageSource()
getMessageSource in class MessageTagprotected String getNoSuchMessageExceptionDescription(org.springframework.context.NoSuchMessageException ex)
getNoSuchMessageExceptionDescription in class MessageTag