📄 struts-html.tld
字号:
<description>
<![CDATA[
JavaScript event handler executed when this element receives input
focus.
]]>
</description>
</attribute>
<attribute>
<name>onkeydown</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
JavaScript event handler executed when this element has focus and a
key is depressed.
]]>
</description>
</attribute>
<attribute>
<name>onkeypress</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
JavaScript event handler executed when this element has focus and a
key is depressed and released.
]]>
</description>
</attribute>
<attribute>
<name>onkeyup</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
JavaScript event handler executed when this element has focus and a
key is released.
]]>
</description>
</attribute>
<attribute>
<name>onmousedown</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
JavaScript event handler executed when this element is under the mouse
pointer and a mouse button is depressed.
]]>
</description>
</attribute>
<attribute>
<name>onmousemove</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
JavaScript event handler executed when this element is under the
mouse pointer and the pointer is moved.
]]>
</description>
</attribute>
<attribute>
<name>onmouseout</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
JavaScript event handler executed when this element was under the
mouse pointer but the pointer was moved outside the element.
]]>
</description>
</attribute>
<attribute>
<name>onmouseover</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
JavaScript event handler executed when this element was not under
the mouse pointer but the pointer is moved inside the element.
]]>
</description>
</attribute>
<attribute>
<name>onmouseup</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
JavaScript event handler executed when this element is under the
mouse pointer and a mouse button is released.
]]>
</description>
</attribute>
<attribute>
<name>property</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
Name of the request parameter that will be included with this
submission, set to the specified value.
]]>
</description>
</attribute>
<attribute>
<name>style</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>CSS styles to be applied to this HTML element.</p>
<p><strong>N.B.</strong> If present, the <code>errorStyle</code>
overrides this attribute in the event of an error for the element.</p>
]]>
</description>
</attribute>
<attribute>
<name>styleClass</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>CSS stylesheet class to be applied to this HTML element
(renders a "class" attribute).</p>
<p><strong>N.B.</strong> If present, the <code>errorStyleClass</code>
overrides this attribute in the event of an error for the element.</p>
]]>
</description>
</attribute>
<attribute>
<name>styleId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>Identifier to be assigned to this HTML element (renders
an "id" attribute).</p>
<p><strong>N.B.</strong> If present, the <code>errorStyleId</code>
overrides this attribute in the event of an error for the element.</p>
]]>
</description>
</attribute>
<attribute>
<name>tabindex</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
The tab order (ascending positive integers) for this element.
]]>
</description>
</attribute>
<attribute>
<name>title</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>The advisory title for this element.</p>
]]>
</description>
</attribute>
<attribute>
<name>titleKey</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>The message resources key for the advisory title
for this element.</p>
]]>
</description>
</attribute>
<attribute>
<name>value</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
The value to be transmitted if this checkbox is
checked when the form is submitted. If not specified,
the value "on" will be returned.
]]>
</description>
</attribute>
</tag>
<tag>
<name>errors</name>
<tag-class>org.apache.struts.taglib.html.ErrorsTag</tag-class>
<body-content>empty</body-content>
<description>
<![CDATA[
<p><strong>
Conditionally display a set of accumulated error messages.
</strong></p>
<p>Displays a set of error messages prepared by a business
logic component and stored as an <code>ActionMessages</code>
object, an <code>ActionErrors</code>
object, a String, or a String array in any scope. If
such a bean is not found, nothing will be rendered.</p>
<p>In order to use this tag successfully, you must have
defined an application scope <code>MessageResources</code>
bean under the default attribute name, with optional
definitions of message keys specified in the following
attributes:</p>
<ul>
<li><strong>header</strong> - Text that will be rendered
before the error messages list. Typically, this message text
will end with <code><ul></code> to start the
error messages list (default "errors.header").</li>
<li><strong>footer</strong> - Text that will be rendered
after the error messages list. Typically, this message text
will begin with <code></ul></code> to end the error
messages list (default "errors.footer").</li>
<li><strong>prefix</strong> - Text that will be rendered
before each individual error in the list (default "errors.prefix").</li>
<li><strong>suffix</strong> - Text that will be rendered
after each individual error in the list (default "errors.suffix").</li>
</ul>
<p>See the <code>messages</code> tag for an alternative to this tag that
does not rely on HTML in your <code>MessageResources</code>.</p>
]]>
</description>
<attribute>
<name>bundle</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
The servlet context attribute key for the MessageResources
instance to use. If not specified, defaults to the
application resources configured for our action servlet.
]]>
</description>
</attribute>
<attribute>
<name>footer</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
This value is an optional message resource key that will
be printed after the iteration of error messages has finished.
Defaults to "errors.footer" if not specified.
<dl><dt><b>Since:</b></dt>
<dd>Struts 1.2.5</dd></dl>
]]>
</description>
</attribute>
<attribute>
<name>header</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
This value is an optional message resource key that will
be printed before the iteration of error messages begins.
Defaults to "errors.header" if not specified.
<dl><dt><b>Since:</b></dt>
<dd>Struts 1.2.5</dd></dl>
]]>
</description>
</attribute>
<attribute>
<name>locale</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
The session attribute key for the Locale used to select
messages to be displayed. If not specified, defaults to
the Struts standard value.
]]>
</description>
</attribute>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
Name of the bean (in any scope) under which our error messages
have been stored. If not present, the name specified by the
<code>Globals.ERROR_KEY</code> constant string will be used.
]]>
</description>
</attribute>
<attribute>
<name>prefix</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
This value is an optional message resource key that will
be printed before an error message.
Defaults to "errors.prefix" if not specified.
<dl><dt><b>Since:</b></dt>
<dd>Struts 1.2.5</dd></dl>
]]>
</description>
</attribute>
<attribute>
<name>property</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
Name of the property for which error messages should be
displayed. If not specified, all error messages (regardless
of property) are displayed.
]]>
</description>
</attribute>
<attribute>
<name>suffix</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
This value is an optional message resource key that will
be printed after an error message.
Defaults to "errors.suffix" if not specified.
<dl><dt><b>Since:</b></dt>
<dd>Struts 1.2.5</dd></dl>
]]>
</description>
</attribute>
</tag>
<tag>
<name>file</name>
<tag-class>org.apache.struts.taglib.html.FileTag</tag-class>
<description>
<![CDATA[
<p><strong>
Render A File Select Input Field
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -