This tag library includes the following tags:
]]><base>
element with an
href
attribute pointing to the absolute location
of the enclosing JSP page. This tag is valid only when nested
inside an HTML <head>
element. This tag is
useful because it allows you to use relative URL references that
are based on the URL of the page itself, rather than the URL to
which the most recent submit took place.
]]>
<a>
element defining a
hyperlink that submits the current form. This component is
required because the JSF 1.0 and 1.1 specifications require
interoperability between the renderers for the form element
and the command link element, without providing a portable
mechanism to allow intermixed libraries.
]]>
In order to use this component successfully, you must have
defined an application scope MessageResources
bean
under the specified attribute name, with optinal definitions for
the following message keys:
MessageResources
bundle is stored. If not specified,
the default bundle for this sub-application will be used.
]]>
<action>
path as a parameter,
and triggers the creation of a Struts form bean if needed.
]]>
Action
to which this form should be
submitted. This value must exactly match the path
attribute of the corresponding <action>
element in the struts-config.xml
configuration
file for this application module.
]]>
POST
. This must be set to
"multipart/form-data
" if your form includes file upload
field(s). If not specified, the browser default
("application/x-www-form-urlencoded
") is used.
]]>
<html>
element with language
attributes extracted from the user's current Locale object, if there
is one.
]]>
true
in order to record a Locale
based on the current request's Accept-Language
header
(if any), if none has currently been set.
]]>
true
to render an xml:lang
element on the generated html
element. It also causes
nested Struts HTML tags (although not JavaServer Faces component
tags) to render themselves as xhtml.
]]>
struts-html
tag library.
Render JavaScript validation based on the
validation rules loaded by the ValidatorPlugIn
.
The set of validation rules that should be generated is based
on the formName attribute passed in, which should match
the name attribute of the form element in the xml file.
The dynamicJavascript and staticJavascript attributes
default to true, but if dynamicJavascript is set to true
and staticJavascript is set to false
then only
the dynamic JavaScript will be rendered. If dynamicJavascript
is set to false
and staticJavascript is set to true
then only
the static JavaScript will be rendered which can then be put in
separate JSP page so the browser can cache the static JavaScript.
true
.
]]>
true
.
]]>
true
.
]]>
The MessageResources
bundle to be used is specified
by the bundle
attribute, as follows:
Substitution parameters for the message may be nested inside this
tag by using the parameter
tag from the standard
HTML RenderKit tag library.
Additional control over the rendering process is specified by the following optional attributes, with default values as indicated:
]]>MessageResources
bundle is stored. If not specified,
the default bundle for this sub-application will be used.
]]>
true
.
]]>
key
and value
must be specified.
]]>
key
and
value
must be specified.
]]>
<link>
element with a
relative reference to a text/css
stylesheet at
the specified context-relative path.
]]>
Additional control over the rendering process is specified by the following optional attributes, with default values as indicated:
]]>true
.
]]>