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

📄 displaytag.tld

📁 网上购物系统 基于jsp实现 运行环境eclipse+My SQL+TomCat
💻 TLD
📖 第 1 页 / 共 3 页
字号:
        If this attribute is provided, then the column's displayed is limited to this number of characters. An elipse        (...) is appended to the end if this column is linked, and the user can mouseover the elipse to get the full        text. Be careful on using this attribute for String which can contain html tags or entities, or together with        the autolink attribute turned on: displaytag will do its best trying to avoid leaving unclosed tags or broken        entities in the output, but a complex or bad input could lead to unattended results.      </description>    </attribute>    <attribute>      <name>maxWords</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <type>int</type>      <description>        If this attribute is provided, then the column's displayed is limited to this number of words. An elipse (...)        is appended to the end if this column is linked, and the user can mouseover the elipse to get the full text. Be        careful on using this attribute for String which can contain html tags or entities, or together with the        autolink attribute turned on: displaytag will do its best trying to avoid leaving unclosed tags or broken        entities in the output, but a complex or bad input could lead to unattended results.      </description>    </attribute>    <attribute>      <name>class</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <type>java.lang.String</type>      <description>        html pass through attribute; use this instead of directly coding presentational atttributes.      </description>    </attribute>    <attribute>      <name>headerClass</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <type>java.lang.String</type>      <description>"class" html attribute added only for header cells.</description>    </attribute>    <attribute>      <name>style</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <type>java.lang.String</type>      <description>html pass through attribute.</description>    </attribute>    <attribute>      <name>group</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <type>int</type>      <description>        The grouping level (starting at 1 and incrementing) of this column (indicates if successive contain the same        values, then they should not be displayed). The level indicates that if a lower level no longer matches, then        the matching for this higher level should start over as well. If this attribute is not included, then no        grouping is performed.      </description>    </attribute>    <attribute>      <name>decorator</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <type>java.lang.String</type>      <description>        Whitespace separated list of column decorators to apply to the current column. A table decorator name can be the        name of an object in page, request, session or application scope or a fully qualified class name of a class        implementing the org.displaytag.decorator.DisplaytagColumnDecorator interface. If a decorator is specified for        the entire table, then this decorator will decorate that decorator.      </description>    </attribute>    <attribute>      <name>sortName</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <type>java.lang.String</type>      <description>        Used with sort="external", the name that should be given to the server to sort this column. IE if        sortName="buzz", then the href for this column to sort will have a parameter d-(encodedId)-s=buzz. If sortName        is ommitted the value for the sort param will default to the column number.      </description>    </attribute>    <attribute>      <name>headerScope</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <type>java.lang.String</type>      <description>"scope" html attribute added only for header cells.</description>    </attribute>    <attribute>      <name>scope</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <type>java.lang.String</type>      <description>"scope" html attribute.</description>    </attribute>    <attribute>      <name>value</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <type>java.lang.Object</type>      <description>        Static value to be used for the column. It has the same meaning of setting a value in the tag body, but values        set using this attribute will not be coerced to Strings. You may need to use the value attribute instead of a        scriptlet in the tag body if you need to calculate totals on numeric values.      </description>    </attribute>  </tag>  <tag>    <name>setProperty</name>    <tag-class>org.displaytag.tags.SetPropertyTag</tag-class>    <body-content>JSP</body-content>    <display-name>setProperty</display-name>    <description>      Sets the indicated property on the enclosing Table tag. MUST be nested within a Table tag. As an alternative, you      may create a property file that holds sitewide defaults; see the configuration documentation or the      DisplayPropertiesLoaderServlet javadoc for information.    </description>    <attribute>      <name>name</name>      <required>true</required>      <rtexprvalue>true</rtexprvalue>      <type>java.lang.String</type>      <description>The name of the property to set on the enclosing Table tag.</description>    </attribute>    <attribute>      <name>value</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <type>java.lang.String</type>      <description>        The value to which the property is set. You can also set the property value in the tag body.      </description>    </attribute>    <example>      <![CDATA[<display:setProperty name="paging.banner.placement" value="bottom" />or<display:setProperty name="paging.banner.placement">bottom</display:setProperty>]]>    </example>  </tag>  <tag>    <name>footer</name>    <tag-class>org.displaytag.tags.TableFooterTag</tag-class>    <body-content>JSP</body-content>    <display-name>footer</display-name>    <description>      Tag wich should be nested into a table tag to provide a custom table footer. The body of the tag is into the tfoot      section of the table. The totals variable, if designated, will be in pageContext in this tag.    </description>    <attribute>      <name>media</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <type>java.lang.String</type>      <description>        Use this attribute to keep a footer from being output during an export. The caption will only render for the        named media type(s) - it won't be added to the table if the current request media is not supported. Can be any        space separated combination of 'html', 'csv', 'xml', 'all', or 'excel'. Defaults to 'all'. See the export page        in the example webapp for more details.      </description>    </attribute>    <example>      <![CDATA[<display:table name="someList" varTotals="totals">  <display:column property="itemName"/>  <display:column property="price" total="true"/>  <display:footer>    <tr>      <td>Total Bill:</td>      <td><c:out value="${totals.column2}" /></td>    <tr>  </display:footer></display:table>]]>    </example>  </tag>  <tag>    <name>caption</name>    <tag-class>org.displaytag.tags.CaptionTag</tag-class>    <body-content>JSP</body-content>    <display-name>caption</display-name>    <description>      Simple tag which mimics the html caption tag. Use it inside a table tag to display a caption.    </description>    <attribute>      <name>style</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <type>java.lang.String</type>      <description>html pass through attribute.</description>    </attribute>    <attribute>      <name>class</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <type>java.lang.String</type>      <description>html pass through attribute.</description>    </attribute>    <attribute>      <name>id</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <type>java.lang.String</type>      <description>html pass through attribute.</description>    </attribute>    <attribute>      <name>title</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <type>java.lang.String</type>      <description>html pass through attribute.</description>    </attribute>    <attribute>      <name>lang</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <type>java.lang.String</type>      <description>html pass through attribute.</description>    </attribute>    <attribute>      <name>dir</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <type>java.lang.String</type>      <description>html pass through attribute.</description>    </attribute>    <attribute>      <name>media</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <type>java.lang.String</type>      <description>        Use this attribute to keep a caption from being output during an export. The caption will only render for the        named media type(s) - it won't be added to the table if the current request media is not supported. Can be any        space separated combination of 'html', 'csv', 'xml', 'all', or 'excel'. Defaults to 'all'. See the export page        in the example webapp for more details.      </description>    </attribute>    <example>      <![CDATA[<display:table name="someList">  <display:column property="mail"/>  <display:column property="total"/>  <display:caption>This is the table caption</display:caption></display:table>]]>    </example>  </tag></taglib>

⌨️ 快捷键说明

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