spring
Tag theme


Retrieves the theme message with the given code, or text if code isn't resolvable. The HTML escaping flag participates in a page-wide or application-wide setting (i.e. by HtmlEscapeTag or a "defaultHtmlEscape" context-param in web.xml).


Tag Information
Tag Classorg.springframework.web.servlet.tags.ThemeTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
argumentsfalsetruejava.lang.StringSet optional message arguments for this tag, as a (comma-) delimited String (each String argument can contain JSP EL), an Object array (used as argument array), or a single Object (used as single argument). You can additionally use nested spring:argument tags.
argumentSeparatorfalsetruejava.lang.StringThe separator character to be used for splitting the arguments string value; defaults to a 'comma' (',').
codefalsetruejava.lang.StringThe code (key) to use when looking up the message. If code is not provided, the text attribute will be used.
htmlEscapefalsetruejava.lang.StringSet HTML escaping for this tag, as boolean value. Overrides the default HTML escaping setting for the current page.
javaScriptEscapefalsetruejava.lang.StringSet JavaScript escaping for this tag, as boolean value. Default is 'false'.
messagefalsetruejava.lang.StringA MessageSourceResolvable argument (direct or through JSP EL).
scopefalsetruejava.lang.StringThe scope to use when exporting the result to a variable. This attribute is only used when var is also set. Possible values are page, request, session and application.
textfalsetruejava.lang.StringDefault text to output when a message for the given code could not be found. If both text and code are not set, the tag will output null.
varfalsetruejava.lang.StringThe string to use when binding the result to the page, request, session or application scope. If not specified, the result gets outputted to the writer (i.e. typically directly to the JSP).

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.