📄 struts-html.tld
字号:
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
Name of the request parameter that will be included with this
submission, set to the specified value.
<strong>WARNING</strong> - If you set this attribute to a
value other than the default, this will <em>NOT</em> be
recognized as the cancel key by the Struts controller servlet
or the <code>Action.isCancelled()</code> method. You will
need to do your own cancel detection.
]]>
</description>
</attribute>
<attribute>
<name>style</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
CSS styles to be applied to this HTML element.
]]>
</description>
</attribute>
<attribute>
<name>styleClass</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
CSS stylesheet class to be applied to this HTML element
(renders a "class" attribute).
]]>
</description>
</attribute>
<attribute>
<name>styleId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
Identifier to be assigned to this HTML element (renders
an "id" attribute).
]]>
</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[
Value of the label to be placed on this button. This value will
also be submitted as the value of the specified request parameter.
[Body of this tag (if any), or "Cancel"]
]]>
</description>
</attribute>
</tag>
<tag>
<name>checkbox</name>
<tag-class>org.apache.struts.taglib.html.CheckboxTag</tag-class>
<description>
<![CDATA[
<p><strong>
Render A Checkbox Input Field
</strong></p>
<p>Renders an HTML <input> element of type
<code>checkbox</code>, populated from the specified
value or the specified property of the bean associated
with our current form. This tag is only valid when
nested inside a form tag body.</p>
<p><strong>NOTE</strong>: The underlying property value
associated with this field should be of type <code>boolean</code>,
and any <code>value</code> you specify should correspond to one
of the Strings that indicate a true value ("true", "yes", or
"on"). If you wish to utilize a set of related String values,
consider using the <code>multibox</code> tag.</p>
<p><strong>WARNING</strong>: In order to correctly
recognize unchecked checkboxes, the
<code>ActionForm</code> bean associated with this form
must include a statement setting the corresponding
boolean property to <code>false</code> in the
<code>reset()</code> method.</p>
]]>
</description>
<attribute>
<name>accesskey</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
The keyboard character used to move focus immediately to this
element.
]]>
</description>
</attribute>
<attribute>
<name>alt</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>The alternate text for this element.</p>
]]>
</description>
</attribute>
<attribute>
<name>altKey</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>The message resources key of the alternate text for this
element.</p>
]]>
</description>
</attribute>
<attribute>
<name>bundle</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
The servlet context attributes key for the MessageResources
instance to use. If not specified, defaults to the
application resources configured for our action servlet.
<dl><dt><b>Since:</b></dt>
<dd>Struts 1.2.5</dd></dl>
]]>
</description>
</attribute>
<attribute>
<name>dir</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>The direction for weak/neutral text for this element.</p>
<dl><dt><b>Since:</b></dt>
<dd>Struts 1.3.6</dd></dl>
]]>
</description>
</attribute>
<attribute>
<name>disabled</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>boolean</type>
<description>
<![CDATA[
Set to <code>true</code> if this input field should be
disabled.
]]>
</description>
</attribute>
<attribute>
<name>errorKey</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>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.</p>
<p><strong>N.B.</strong> This is used in conjunction with the
<code>errorStyle</code>, <code>errorStyleClass</code> and
<code>errorStyleId</code> attributes and should be set to
the same value as the <code>name</code> attribute on the
<html:errors/> tag.</p>
<dl><dt><b>Since:</b></dt>
<dd>Struts 1.2.5</dd></dl>
]]>
</description>
</attribute>
<attribute>
<name>errorStyle</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>CSS styles to be applied to this HTML element if
an error exists for it.</p>
<p><strong>N.B.</strong> If present, this overrides the
<code>style</code> attribute in the event of an error.</p>
<dl><dt><b>Since:</b></dt>
<dd>Struts 1.2.5</dd></dl>
]]>
</description>
</attribute>
<attribute>
<name>errorStyleClass</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>CSS stylesheet class to be applied to this HTML element if
an error exists for it (renders a "class" attribute).</p>
<p><strong>N.B.</strong> If present, this overrides the
<code>styleClass</code> attribute in the event of an error.</p>
<dl><dt><b>Since:</b></dt>
<dd>Struts 1.2.5</dd></dl>
]]>
</description>
</attribute>
<attribute>
<name>errorStyleId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>Identifier to be assigned to this HTML element if
an error exists for it (renders an "id" attribute).</p>
<p><strong>N.B.</strong> If present, this overrides the
<code>styleId</code> attribute in the event of an error.</p>
<dl><dt><b>Since:</b></dt>
<dd>Struts 1.2.5</dd></dl>
]]>
</description>
</attribute>
<attribute>
<name>indexed</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>boolean</type>
<description>
<![CDATA[
Valid only inside of <code>logic:iterate</code> tag.
If <code>true</code> then name of the html tag will be rendered as
"id[34].propertyName". Number in brackets will be generated
for every iteration and taken from ancestor logic:iterate tag.
]]>
</description>
</attribute>
<attribute>
<name>lang</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
<p>The language code for this element.</p>
<dl><dt><b>Since:</b></dt>
<dd>Struts 1.3.6</dd></dl>
]]>
</description>
</attribute>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
The attribute name of the bean whose properties are consulted when
rendering the current value of this input field. If not specified,
the bean associated with the form tag we are nested within is utilized.
]]>
</description>
</attribute>
<attribute>
<name>onblur</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
JavaScript event handler executed when this element loses input
focus.
]]>
</description>
</attribute>
<attribute>
<name>onchange</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
JavaScript event handler executed when this element loses input
focus and its value has changed.
]]>
</description>
</attribute>
<attribute>
<name>onclick</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
JavaScript event handler executed when this element receives a
mouse click.
]]>
</description>
</attribute>
<attribute>
<name>ondblclick</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
<![CDATA[
JavaScript event handler executed when this element receives a
mouse double click.
]]>
</description>
</attribute>
<attribute>
<name>onfocus</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -