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

📄 struts-tiles-el.tld

📁 structs源码
💻 TLD
📖 第 1 页 / 共 3 页
字号:
            <name>beanProperty</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
            <description>
                <![CDATA[
         <p>Bean property name. If specified, value is retrieved from this 
         property. Supports nested/indexed properties.</p>
         ]]>
            </description>
        </attribute>
        <attribute>
            <name>beanScope</name>
            <required>false</required>
            <rtexprvalue>false</rtexprvalue>
            <description>
                <![CDATA[
         <p>Scope into which bean is searched. If not specified, method 
         pageContext.findAttribute is used.
         Scope can be any JSP scope, 'component', or 'template'.
         In these two later cases, bean is search in tile/component/template
         context.</p>
         ]]>
            </description>
        </attribute>
        <attribute>
            <name>role</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
            <description>
                <![CDATA[
            <p>If the user is in the specified role, the tag is taken into 
            account; otherwise, the tag is ignored (skipped).</p>
            <p>The role isn't taken into account if <code>&lt;add&gt;</code> 
            tag is used in a definition.</p>
         ]]>
            </description>
        </attribute>
    </tag>
    <tag>
        <name>get</name>
        <tag-class>org.apache.strutsel.taglib.tiles.ELGetTag</tag-class>
        <body-content>empty</body-content>
        <description>
            <![CDATA[
         <p><strong>Gets the content from request scope that was put there by a
         put tag.</strong></p>
         <p>Retrieve content from tile context and include it.</p>
         <p>Take into account the 'type' attribute.</p>
      ]]>
        </description>
        <attribute>
            <name>name</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
            <description>
                <![CDATA[
         <p>The name of the content to get from tile/component scope.</p>
         ]]>
            </description>
        </attribute>
        <attribute>
            <name>ignore</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
            <description>
                <![CDATA[
         <p>If this attribute is set to true, and the attribute specified by 
         the name does not exist, simply return without writing anything. 
         The default value is false, which will cause a runtime exception to 
         be thrown.</p>
         ]]>
            </description>
        </attribute>
        <attribute>
            <name>flush</name>
            <required>false</required>
            <rtexprvalue>false</rtexprvalue>
            <description>
                <![CDATA[
         <p>True or false. If true, current page out stream is flushed 
         before insertion.</p>
         ]]>
            </description>
        </attribute>
        <attribute>
            <name>role</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
            <description>
                <![CDATA[
         <p>If the user is in the specified role, the tag is taken into account;
         otherwise, the tag is ignored (skipped).</p>
         ]]>
            </description>
        </attribute>
    </tag>
    <tag>
        <name>getAsString</name>
        <tag-class>
            org.apache.strutsel.taglib.tiles.ELGetAttributeTag</tag-class>
        <body-content>empty</body-content>
        <description>
            <![CDATA[
      <p><strong>Render the value of the specified tile/component/template
      attribute to the current JspWriter</strong></p>
      
      <p>Retrieve the value of the specified tile/component/template attribute 
      property, and render it to the current JspWriter as a String.
      The usual toString() conversions is applied on found value.</p>
      <p>Throw a JSPException if named value is not found.</p>
      ]]>
        </description>
        <attribute>
            <name>name</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
            <description>
                <![CDATA[
         <p>Attribute name.</p>
         ]]>
            </description>
        </attribute>
        <attribute>
            <name>ignore</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
            <description>
                <![CDATA[
         <p>If this attribute is set to true, and the attribute specified by 
         the name does not exist, simply return without writing anything.
         The default value is false, which will cause a runtime exception 
         to be thrown.</p>
         ]]>
            </description>
        </attribute>
        <attribute>
            <name>role</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
            <description>
                <![CDATA[
         <p>If the user is in the specified role, the tag is taken into account;
         otherwise, the tag is ignored (skipped).</p>
         ]]>
            </description>
        </attribute>
    </tag>
    <tag>
        <name>useAttribute</name>
        <tag-class>
            org.apache.strutsel.taglib.tiles.ELUseAttributeTag</tag-class>
        <body-content>empty</body-content>
        <description>
            <![CDATA[
      <p><strong>Use attribute value inside page.</strong></p>
      <p>Declare a Java variable, and an attribute in the specified scope, 
      using tile attribute value.</p>
      <p>Java variable and attribute will have the name specified by 'id', 
      or the original name if not specified.</p>
      ]]>
        </description>
        <attribute>
            <name>id</name>
            <required>false</required>
            <rtexprvalue>false</rtexprvalue>
            <description>
                <![CDATA[
         <p>Declared attribute and variable name.</p>
         ]]>
            </description>
        </attribute>
        <attribute>
            <name>classname</name>
            <required>false</required>
            <rtexprvalue>false</rtexprvalue>
            <description>
                <![CDATA[
         <p>Class of the declared variable.</p>
         ]]>
            </description>
        </attribute>
        <attribute>
            <name>scope</name>
            <required>false</required>
            <rtexprvalue>false</rtexprvalue>
            <description>
                <![CDATA[
         <p>Scope of the declared attribute. Default to 'page'.</p>
         ]]>
            </description>
        </attribute>
        <attribute>
            <name>name</name>
            <required>true</required>
            <rtexprvalue>true</rtexprvalue>
            <description>
                <![CDATA[
         <p>Tile's attribute name.</p>
         ]]>
            </description>
        </attribute>
        <attribute>
            <name>ignore</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
            <description>
                <![CDATA[
         <p>If this attribute is set to true, and the attribute specified by
         the name does not exist, simply return without error. The default
         value is false, which will cause a runtime exception to be thrown.</p>
         ]]>
            </description>
        </attribute>
    </tag>
    <tag>
        <name>importAttribute</name>
        <tag-class>
            org.apache.strutsel.taglib.tiles.ELImportAttributeTag</tag-class>
        <body-content>empty</body-content>
        <description>
            <![CDATA[
      <p><strong>Import Tile's attribute in specified context.</strong></p>
      <p>Import attribute from tile to requested scope.
      Attribute name and scope are optional. If not specified, all tile
      attributes are imported in page scope.
      Once imported, an attribute can be used as any other beans from jsp 
      contexts.</p>
      ]]>
        </description>
        <attribute>
            <name>name</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
            <description>
                <![CDATA[
         Tile's attribute name. If not specified, all attributes are imported.
         ]]>
            </description>
        </attribute>
        <attribute>
            <name>scope</name>
            <required>false</required>
            <rtexprvalue>false</rtexprvalue>
            <description>
                <![CDATA[
         <p>Scope into which attribute is imported. Default to page.</p>
         ]]>
            </description>
        </attribute>
        <attribute>
            <name>ignore</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
            <description>
                <![CDATA[
         <p>If this attribute is set to true, and the attribute specified by
         the name does not exist, simply return without error. The default 
         value is false, which will cause a runtime exception to be thrown.</p>
         ]]>
            </description>
        </attribute>
    </tag>
    <tag>
        <name>initComponentDefinitions</name>
        <tag-class>
            org.apache.strutsel.taglib.tiles.ELInitDefinitionsTag</tag-class>
        <body-content>empty</body-content>
        <description>
            <![CDATA[
         <p><strong>Initialize Tile/Component definitions factory.</strong></p>
         <p>In order to use Tile/Component definitions factory, you need to 
         initialize the factory. This is generally done in a initializing 
         servlet. In particular, it is done in "ComponentActionServlet" if you 
         use it. If you don't initialize factory in a servlet, you can 
         initialize it using this tag. You need to provide the description file
         name, and optionally the factory classname. Initialization is done 
         only once, at the first call of this tag. Subsequent calls
         are ignored (tag checks existence of the factory).</p>
      ]]>
        </description>
        <attribute>
            <name>file</name>
            <required>true</required>
            <rtexprvalue>false</rtexprvalue>
            <description>
                <![CDATA[
         <p>Definition file name.</p>
         ]]>
            </description>
        </attribute>
        <attribute>
            <name>classname</name>
            <required>false</required>
            <rtexprvalue>false</rtexprvalue>
            <description>
                <![CDATA[
         <p>If specified, classname of the factory to create and initialized.
         </p>
         ]]>
            </description>
        </attribute>
    </tag>
</taglib>

⌨️ 快捷键说明

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