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

📄 struts-html.tld

📁 是一个J2EE的项目,在eclipse下编译通过,应用struts,hibernate开源框架,界面不是很漂亮.
💻 TLD
📖 第 1 页 / 共 5 页
字号:
                <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 request 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>&lt;ul&gt;</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>&lt;/ul&gt;</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 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.                  ]]>            </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        </strong></p>                      <p>                Renders an HTML &lt;input&gt; element of type file, defaulting to                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>                As with the corresponding HTML &lt;input&gt; element, the                enclosing form element must specify "POST" for the <code>method</code>                attribute, and "multipart/form-data" for the <code>enctype</code>                attribute. For example:            </p>    <pre>    &lt;html:form method="POST" enctype="multipart/form-data"&gt;        &lt;html:file property="theFile" /&gt;    &lt;/html:form&gt;</pre>            <p>            WARNING: In order to correctly recognize uploaded files, the ActionForm bean            associated with this form must include a statement setting the corresponding            org.apache.struts.upload.FormFile property to null in the reset() 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>accept</name>            <required>false</required>            <rtexprvalue>true</rtexprvalue>            <description>                <![CDATA[                Comma-delimited set of content types that the server you submit to                knows how to process. This list can be used by the client browser                to limit the set of file options that is made available for selection.                If not specified, no content type list will be sent.            ]]>            </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                  &lt;html:errors/&gt; tag.</p>                         <dl><dt><b>Since:</b></dt>            <dd>Struts 1.2.5</dd></dl>          ]]>            </description>        </attribute>        <attribute>            <name>errorStyle</name>            <required>false</required>

⌨️ 快捷键说明

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