META-INF.spring.tld Maven / Gradle / Ivy
The newest version!
Spring Framework JSP Tag Library
4.0
spring
http://www.springframework.org/tags
Sets default HTML escape value for the current page.
Overrides a "defaultHtmlEscape" context-param in web.xml, if any.
htmlEscape
org.springframework.web.servlet.tags.HtmlEscapeTag
JSP
Set the default value for HTML escaping, to be put
into the current PageContext.
defaultHtmlEscape
true
true
Escapes its enclosed body content, applying HTML escaping and/or JavaScript
escaping. 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).
escapeBody
org.springframework.web.servlet.tags.EscapeBodyTag
JSP
Set HTML escaping for this tag, as boolean value. Overrides the
default HTML escaping setting for the current page.
htmlEscape
false
true
Set JavaScript escaping for this tag, as boolean value.
Default is 'false'.
javaScriptEscape
false
true
Retrieves the 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).
message
org.springframework.web.servlet.tags.MessageTag
JSP
A MessageSourceResolvable argument (direct or through JSP EL).
Fits nicely when used in conjunction with Spring's own validation error classes
which all implement the MessageSourceResolvable interface. For example, this
allows you to iterate over all of the errors in a form, passing each error
(using a runtime expression) as the value of this 'message' attribute, thus
effecting the easy display of such error messages.
message
false
true
The code (key) to use when looking up the message.
If code is not provided, the text attribute will be used.
code
false
true
Set 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.
arguments
false
true
The separator character to be used for splitting the
arguments string value; defaults to a 'comma' (',').
argumentSeparator
false
true
Default 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.
text
false
true
The 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).
var
false
true
The 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.
scope
false
true
Set HTML escaping for this tag, as boolean value.
Overrides the default HTML escaping setting for the current page.
htmlEscape
false
true
Set JavaScript escaping for this tag, as boolean value.
Default is 'false'.
javaScriptEscape
false
true
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).
theme
org.springframework.web.servlet.tags.ThemeTag
JSP
A MessageSourceResolvable argument (direct or through JSP EL).
message
false
true
The code (key) to use when looking up the message.
If code is not provided, the text attribute will be used.
code
false
true
Set 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.
arguments
false
true
The separator character to be used for splitting the
arguments string value; defaults to a 'comma' (',').
argumentSeparator
false
true
Default 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.
text
false
true
The 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).
var
false
true
The 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.
scope
false
true
Set HTML escaping for this tag, as boolean value.
Overrides the default HTML escaping setting for the current page.
htmlEscape
false
true
Set JavaScript escaping for this tag, as boolean value.
Default is 'false'.
javaScriptEscape
false
true
Argument tag based on the JSTL fmt:param tag. The purpose is to
support arguments inside the spring:message and spring:theme tags.
argument
org.springframework.web.servlet.tags.ArgumentTag
JSP
The value of the argument.
value
false
true
java.lang.Object
Provides Errors instance in case of bind errors. 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).
hasBindErrors
org.springframework.web.servlet.tags.BindErrorsTag
JSP
errors
org.springframework.validation.Errors
The name of the bean in the request, that needs to be
inspected for errors. If errors are available for this bean, they
will be bound under the 'errors' key.
name
true
true
Set HTML escaping for this tag, as boolean value.
Overrides the default HTML escaping setting for the current page.
htmlEscape
false
true
Sets a nested path to be used by the bind tag's path.
nestedPath
org.springframework.web.servlet.tags.NestedPathTag
JSP
nestedPath
java.lang.String
Set the path that this tag should apply. For example, 'customer'
to allow bind paths like 'address.street' rather than
'customer.address.street'.
path
true
true
Provides BindStatus object for the given bind path. 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).
bind
org.springframework.web.servlet.tags.BindTag
JSP
status
org.springframework.web.servlet.support.BindStatus
The path to the bean or bean property to bind status
information for. For instance account.name, company.address.zipCode
or just employee. The status object will exported to the page scope,
specifically for this bean or bean property.
path
true
true
Set whether to ignore a nested path, if any.
Default is to not ignore.
ignoreNestedPath
false
true
Set HTML escaping for this tag, as boolean value. Overrides
the default HTML escaping setting for the current page.
htmlEscape
false
true
Provides transformation of variables to Strings, using an appropriate
custom PropertyEditor from BindTag (can only be used inside BindTag). 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).
transform
org.springframework.web.servlet.tags.TransformTag
JSP
The value to transform. This is the actual object you want
to have transformed (for instance a Date). Using the PropertyEditor that
is currently in use by the 'spring:bind' tag.
value
true
true
The 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).
var
false
true
The scope to use when exported the result to a variable.
This attribute is only used when var is also set. Possible values are
page, request, session and application.
scope
false
true
Set HTML escaping for this tag, as boolean value. Overrides
the default HTML escaping setting for the current page.
htmlEscape
false
true
URL tag based on the JSTL c:url tag. This variant is fully
backwards compatible with the standard tag. Enhancements include support
for URL template parameters.
url
org.springframework.web.servlet.tags.UrlTag
JSP
The URL to build. This value can include template place holders
that are replaced with the URL encoded value of the named parameter. Parameters
must be defined using the param tag inside the body of this tag.
value
true
true
Specifies a remote application context path. The default is the
current application context path.
context
false
true
The name of the variable to export the URL value to.
var
false
true
The scope for the var. 'application', 'session', 'request' and
'page' scopes are supported. Defaults to page scope. This attribute has no
effect unless the var attribute is also defined.
scope
false
true
Set HTML escaping for this tag, as a boolean value. Overrides the
default HTML escaping setting for the current page.
htmlEscape
false
true
Set JavaScript escaping for this tag, as a boolean value.
Default is 'false'.
javaScriptEscape
false
true
Parameter tag based on the JSTL c:param tag. The sole purpose is to
support params inside the spring:url tag.
param
org.springframework.web.servlet.tags.ParamTag
JSP
The name of the parameter.
name
true
true
The value of the parameter.
value
false
true
Evaluates a Spring expression (SpEL) and either prints the result
or assigns it to a variable.
eval
org.springframework.web.servlet.tags.EvalTag
JSP
The expression to evaluate.
expression
true
true
The name of the variable to export the evaluation result to.
var
false
true
The scope for the var. 'application', 'session', 'request' and
'page' scopes are supported. Defaults to page scope. This attribute has no
effect unless the var attribute is also defined.
scope
false
true
Set HTML escaping for this tag, as a boolean value. Overrides the
default HTML escaping setting for the current page.
htmlEscape
false
true
Set JavaScript escaping for this tag, as a boolean value.
Default is 'false'.
javaScriptEscape
false
true
Helps to prepare a URL to a Spring MVC controller method.
mvcUrl
org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder
org.springframework.web.servlet.mvc.method.annotation.MvcUriComponentsBuilder.MethodArgumentBuilder fromMappingName(java.lang.String)
© 2015 - 2024 Weber Informatics LLC | Privacy Policy