📄 struts-html.tld
字号:
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>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 request scope bean 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>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> <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>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -