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

📄 struts-bean-el.tld

📁 struts1-3-8的官方发布源码
💻 TLD
📖 第 1 页 / 共 2 页
字号:
        </attribute>
        <attribute>
            <name>property</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
            <description>
                <![CDATA[
         <p>Specifies the name of the property to be accessed on the bean
         specified by <code>name</code>.  This value may be a simple, indexed,
         or nested property reference expression.  If not specified, the value
         of the bean identified by <code>name</code> will itself be used as the
         message resource key.</p>
         ]]>
            </description>
        </attribute>
        <attribute>
            <name>scope</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
            <description>
                <![CDATA[
         <p>Specifies the variable scope searched to retrieve the bean specified
         by <code>name</code>.  If not specified, the default rules applied by
         <code>PageContext.findAttribute()</code> are applied.</p>
         ]]>
            </description>
        </attribute>
    </tag>
    <tag>
        <name>page</name>
        <tag-class>org.apache.strutsel.taglib.bean.ELPageTag</tag-class>
        <body-content>empty</body-content>
        <description>
            <![CDATA[
      <p><strong>Expose a specified item from the page context as a bean.
      </strong></p>
      <p>Retrieve the value of the specified item from the page context
      for this page, and define it as a scripting variable, and a page scope
      attribute accessible to the remainder of the current page.</p>
      <p>If a problem occurs while retrieving the specified configuration
      object, a request time exception will be thrown.</p>
      ]]>
        </description>
        <attribute>
            <name>id</name>
            <required>true</required>
            <rtexprvalue>false</rtexprvalue>
            <description>
                <![CDATA[
         <p>Specifies the name of the scripting variable (and associated
         page scope attribute) that will be made available with the value of
         the specified page context property.</p>
         ]]>
            </description>
        </attribute>
        <attribute>
            <name>property</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
            <description>
                <![CDATA[
         <p>Name of the property from our page context to be retrieved and
         exposed.  Must be one of <code>application</code>, <code>config</code>,
         <code>request</code>, <code>response</code>, or <code>session</code>.
         </p>
         ]]>
            </description>
        </attribute>
    </tag>
    <tag>
        <name>resource</name>
        <tag-class>org.apache.strutsel.taglib.bean.ELResourceTag</tag-class>
        <tei-class>org.apache.struts.taglib.bean.ResourceTei</tei-class>
        <body-content>empty</body-content>
        <description>
            <![CDATA[
      <p><strong>Load a web application resource and make it available as a 
      bean.</strong></p>
      <p>Retrieve the value of the specified web application resource, and make
      it available as either a <code>InputStream</code> or a 
      <code>String</code>, depending on the value of the <code>input</code> 
      attribute.</p>
      <p>If a problem occurs while retrieving the specified resource, a
      request time exception will be thrown.</p>
      ]]>
        </description>
        <attribute>
            <name>id</name>
            <required>true</required>
            <rtexprvalue>false</rtexprvalue>
            <description>
                <![CDATA[
         <p>Specifies the name of the scripting variable (and associated page
         scope attribute) that will be made available with the value of the
         specified web application resource.</p>
         ]]>
            </description>
        </attribute>
        <attribute>
            <name>input</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
            <description>
                <![CDATA[
         <p>If any arbitrary value for this attribute is specified, the resource
         will be made available as an <code>InputStream</code>.  If this
         attribute is not specified, the resource will be made available
         as a <code>String</code>.</p>
         ]]>
            </description>
        </attribute>
        <attribute>
            <name>name</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
            <description>
                <![CDATA[
         <p>Module-relative name (starting with a '/') of the web application
         resource to be loaded and made available.</p>
         ]]>
            </description>
        </attribute>
    </tag>
    <tag>
        <name>size</name>
        <tag-class>org.apache.strutsel.taglib.bean.ELSizeTag</tag-class>
        <tei-class>org.apache.struts.taglib.bean.SizeTei</tei-class>
        <body-content>empty</body-content>
        <description>
            <![CDATA[
      <p><strong>Define a bean containing the number of elements in a 
      Collection or Map.</strong></p>
      <p>Given a reference to an array, Collection or Map, creates a new bean,
      of type <code>java.lang.Integer</code>, whose value is the number of 
      elements in that collection.  You can specify the collection to be 
      counted in any one of the following ways:</p>
         <ul>
            <li>As a runtime expression specified as the value of the
            <code>collection</code> attribute.</li>
            <li>As a JSP bean specified by the <code>name</code> attribute.</li>
            <li>As the property, specified by the <code>property</code> attribute,
            of the JSP bean specified by the <code>name</code> attribute.</li>
         </ul>
      ]]>
        </description>
        <attribute>
            <name>collection</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
            <description>
                <![CDATA[
         <p>A runtime expression that evaluates to an array, a Collection, or
         a Map.</p>
         ]]>
            </description>
        </attribute>
        <attribute>
            <name>id</name>
            <required>true</required>
            <rtexprvalue>false</rtexprvalue>
            <description>
                <![CDATA[
         <p>The name of a page scope JSP bean, of type
         <code>java.lang.Integer</code>, that will be created to contain the
         size of the underlying collection being counted.</p>
         ]]>
            </description>
        </attribute>
        <attribute>
            <name>name</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
            <description>
                <![CDATA[
         <p>The name of the JSP bean (optionally constrained to the scope
         specified by the <code>scope</code> attribute) that contains the
         collection to be counted (if <code>property</code> is not specified),
         or whose property getter is called to return the collection to be
         counted (if <code>property</code> is specified.</p>
         ]]>
            </description>
        </attribute>
        <attribute>
            <name>property</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
            <description>
                <![CDATA[
         <p>The name of the property, of the bean specified by the
         <code>name</code> attribute, whose getter method will return the
         collection to be counted.</p>
         ]]>
            </description>
        </attribute>
        <attribute>
            <name>scope</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
            <description>
                <![CDATA[
         <p>The bean scope within which to search for the JSP bean specified
         by the <code>name</code> attribute.  If not specified, the available
         scopes are searched in ascending sequence.</p>
         ]]>
            </description>
        </attribute>
    </tag>
    <tag>
        <name>struts</name>
        <tag-class>org.apache.strutsel.taglib.bean.ELStrutsTag</tag-class>
        <tei-class>org.apache.struts.taglib.bean.StrutsTei</tei-class>
        <body-content>empty</body-content>
        <description>
            <![CDATA[
      <p><strong>Expose a named Struts internal configuration object as a bean.
      </strong></p>
      <p>Retrieve the value of the specified Struts internal configuration
      object, and define it as a scripting variable and as a page scope
      attribute accessible to the remainder of the current page.  You must
      specify exactly one of the <code>formBean</code>, <code>forward</code>,
      and <code>mapping</code> attributes to select the configuration object
      to be exposed.</p>
      <p>If a problem occurs while retrieving the specified configuration
      object, a request time exception will be thrown.</p>
      ]]>
        </description>
        <attribute>
            <name>id</name>
            <required>true</required>
            <rtexprvalue>false</rtexprvalue>
            <description>
                <![CDATA[
         <p>Specifies the name of the scripting variable (and associated
         page scope attribute) that will be made available with the value of
         the specified Struts internal configuration object.</p>
         ]]>
            </description>
        </attribute>
        <attribute>
            <name>formBean</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
            <description>
                <![CDATA[
         <p>Specifies the name of the Struts <code>ActionFormBean</code>
         definition object to be exposed.</p>
         ]]>
            </description>
        </attribute>
        <attribute>
            <name>forward</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
            <description>
                <![CDATA[
         <p>Specifies the name of the global Struts <code>ActionForward</code>
         definition object to be exposed.</p>
         ]]>
            </description>
        </attribute>
        <attribute>
            <name>mapping</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
            <description>
                <![CDATA[
         <p>Specifies the matching path of the Struts <code>ActionMapping</code>
         definition object to be exposed.</p>
         ]]>
            </description>
        </attribute>
    </tag>
</taglib>



⌨️ 快捷键说明

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