⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 struts-html.html

📁 struts api,学习使用struts必备的文档
💻 HTML
📖 第 1 页 / 共 5 页
字号:
<td>
                <p>The message resources key of the alternate text for this
                element.</p>
                
            [RT Expr]
          </td>
</tr>
<tr class="oddRow">
<td align="center">bundle</td>
<td>
                    The servlet context attributes key for the MessageResources
                    instance to use.  If not specified, defaults to the
                    application resources configured for our action servlet.
                <p class="since">Since:  Struts 1.2.5</p>
            [RT Expr]
          </td>
</tr>
<tr class="evenRow">
<td align="center">disabled</td>
<td>
          Set to <code>true</code> if this input field should be
          disabled.
          
            [RT Expr]
          </td>
</tr>
<tr class="oddRow">
<td align="center">indexed</td>
<td>
                Valid only inside of <code>logic:iterate</code> tag.
                If <code>true</code> then name of the html tag will be rendered as
                "propertyName[34]". Number in brackets will be generated for
                every iteration and taken from ancestor logic:iterate tag.
            
            [RT Expr]
          </td>
</tr>
<tr class="evenRow">
<td align="center">onblur</td>
<td>
                JavaScript event handler executed when this element loses input
                focus.
            
            [RT Expr]
          </td>
</tr>
<tr class="oddRow">
<td align="center">onchange</td>
<td>
                JavaScript event handler executed when this element loses input
                focus and its value has changed.
            
            [RT Expr]
          </td>
</tr>
<tr class="evenRow">
<td align="center">onclick</td>
<td>
                JavaScript event handler executed when this element receives a
                mouse click.
            
            [RT Expr]
          </td>
</tr>
<tr class="oddRow">
<td align="center">ondblclick</td>
<td>
                JavaScript event handler executed when this element receives a
                mouse double click.
            
            [RT Expr]
          </td>
</tr>
<tr class="evenRow">
<td align="center">onfocus</td>
<td>
                JavaScript event handler executed when this element receives input
                focus.
            
            [RT Expr]
          </td>
</tr>
<tr class="oddRow">
<td align="center">onkeydown</td>
<td>
                JavaScript event handler executed when this element has focus and a
                key is depressed.
            
            [RT Expr]
          </td>
</tr>
<tr class="evenRow">
<td align="center">onkeypress</td>
<td>
                JavaScript event handler executed when this element has focus and a
                key is depressed and released.
            
            [RT Expr]
          </td>
</tr>
<tr class="oddRow">
<td align="center">onkeyup</td>
<td>
                JavaScript event handler executed when this element has focus and a
                key is released.
            
            [RT Expr]
          </td>
</tr>
<tr class="evenRow">
<td align="center">onmousedown</td>
<td>
                JavaScript event handler executed when this element is under the mouse
                pointer and a mouse button is depressed.
            
            [RT Expr]
          </td>
</tr>
<tr class="oddRow">
<td align="center">onmousemove</td>
<td>
                JavaScript event handler executed when this element is under the
                mouse pointer and the pointer is moved.
            
            [RT Expr]
          </td>
</tr>
<tr class="evenRow">
<td align="center">onmouseout</td>
<td>
                JavaScript event handler executed when this element was under the
                mouse pointer but the pointer was moved outside the element.
            
            [RT Expr]
          </td>
</tr>
<tr class="oddRow">
<td align="center">onmouseover</td>
<td>
                JavaScript event handler executed when this element was not under
                the mouse pointer but the pointer is moved inside the element.
            
            [RT Expr]
          </td>
</tr>
<tr class="evenRow">
<td align="center">onmouseup</td>
<td>
                JavaScript event handler executed when this element is under the
                mouse pointer and a mouse button is released.
            
            [RT Expr]
          </td>
</tr>
<tr class="oddRow">
<td align="center">property</td>
<td>
                Name of the request parameter that will be included with this
                submission, set to the specified value.
            
            [Required]
          
            [RT Expr]
          </td>
</tr>
<tr class="evenRow">
<td align="center">style</td>
<td>
                CSS styles to be applied to this HTML element.
            
            [RT Expr]
          </td>
</tr>
<tr class="oddRow">
<td align="center">styleClass</td>
<td>
                CSS stylesheet class to be applied to this HTML element
                (renders a "class" attribute).
            
            [RT Expr]
          </td>
</tr>
<tr class="evenRow">
<td align="center">styleId</td>
<td>
                Identifier to be assigned to this HTML element (renders
                an "id" attribute).
            
            [RT Expr]
          </td>
</tr>
<tr class="oddRow">
<td align="center">tabindex</td>
<td>
                The tab order (ascending positive integers) for this element.
            
            [RT Expr]
          </td>
</tr>
<tr class="evenRow">
<td align="center">title</td>
<td>
                  <p>The advisory title for this element.</p>
                  
            [RT Expr]
          </td>
</tr>
<tr class="oddRow">
<td align="center">titleKey</td>
<td>
                  <p>The message resources key for the advisory title
                  for this element.</p>
                  
            [RT Expr]
          </td>
</tr>
<tr class="evenRow">
<td align="center">value</td>
<td>
                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 "Click"]
            
            [RT Expr]
          </td>
</tr>
</table>
</div>
<p>
<a href="#top">Back to top</a>
</p>
<h3 id="cancel">
<strong>cancel</strong> - 
            Render a Cancel Button
        </h3>
<div class="indent">
            <p>
                Renders an HTML &lt;input&gt; element of type submit. This tag is only
                valid when nested inside a form tag body. Pressing of this submit
                button causes the action servlet to bypass calling the associated
                form bean validate() method. The action is called normally.
            </p>
        <table class="tag-attributes">
<thead>
<tr>
<th class="attribute">Attribute Name</th>
<th>Description</th>
</tr>
</thead>
<tr class="evenRow">
<td align="center">accesskey</td>
<td>
                The keyboard character used to move focus immediately to this
                element.
            
            [RT Expr]
          </td>
</tr>
<tr class="oddRow">
<td align="center">alt</td>
<td>
                <p>The alternate text for this element.</p>
                
            [RT Expr]
          </td>
</tr>
<tr class="evenRow">
<td align="center">altKey</td>
<td>
                <p>The message resources key of the alternate text for this
                element.</p>
                
            [RT Expr]
          </td>
</tr>
<tr class="oddRow">
<td align="center">bundle</td>
<td>
                    The servlet context attributes key for the MessageResources
                    instance to use.  If not specified, defaults to the
                    application resources configured for our action servlet.
                <p class="since">Since:  Struts 1.2.5</p>
            [RT Expr]
          </td>
</tr>
<tr class="evenRow">
<td align="center">disabled</td>
<td>
          Set to <code>true</code> if this input field should be
          disabled.
          
            [RT Expr]
          </td>
</tr>
<tr class="oddRow">
<td align="center">onblur</td>
<td>
                JavaScript event handler executed when this element loses input
                focus.
            
            [RT Expr]
          </td>
</tr>
<tr class="evenRow">
<td align="center">onchange</td>
<td>
                JavaScript event handler executed when this element loses input
                focus and its value has changed.
            
            [RT Expr]
          </td>
</tr>
<tr class="oddRow">
<td align="center">onclick</td>
<td>
                JavaScript event handler executed when this element receives a
                mouse click.
            
            [RT Expr]
          </td>
</tr>
<tr class="evenRow">
<td align="center">ondblclick</td>
<td>
                JavaScript event handler executed when this element receives a
                mouse double click.
            
            [RT Expr]
          </td>
</tr>
<tr class="oddRow">
<td align="center">onfocus</td>
<td>
                JavaScript event handler executed when this element receives input
                focus.
            
            [RT Expr]
          </td>
</tr>
<tr class="evenRow">
<td align="center">onkeydown</td>
<td>
                JavaScript event handler executed when this element has focus and a
                key is depressed.
            
            [RT Expr]
          </td>
</tr>
<tr class="oddRow">
<td align="center">onkeypress</td>
<td>
                JavaScript event handler executed when this element has focus and a
                key is depressed and released.
            
            [RT Expr]
          </td>
</tr>
<tr class="evenRow">
<td align="center">onkeyup</td>
<td>
                JavaScript event handler executed when this element has focus and a
                key is released.
            
            [RT Expr]
          </td>
</tr>
<tr class="oddRow">
<td align="center">onmousedown</td>
<td>
                JavaScript event handler executed when this element is under the mouse
                pointer and a mouse button is depressed.
            
            [RT Expr]
          </td>
</tr>
<tr class="evenRow">
<td align="center">onmousemove</td>
<td>
                JavaScript event handler executed when this element is under the
                mouse pointer and the pointer is moved.
            
            [RT Expr]
          </td>
</tr>
<tr class="oddRow">
<td align="center">onmouseout</td>
<td>
                JavaScript event handler executed when this element was under the
                mouse pointer but the pointer was moved outside the element.
            
            [RT Expr]
          </td>
</tr>
<tr class="evenRow">
<td align="center">onmouseover</td>
<td>
                JavaScript event handler executed when this element was not under
                the mouse pointer but the pointer is moved inside the element.
            
            [RT Expr]
          </td>
</tr>
<tr class="oddRow">
<td align="center">onmouseup</td>
<td>
                JavaScript event handler executed when this element is under the
                mouse pointer and a mouse button is released.
            
            [RT Expr]
          </td>
</tr>
<tr class="evenRow">
<td align="center">property</td>
<td>
                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.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -