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

📄 displaytag.tld

📁 网上购物系统 基于jsp实现 运行环境eclipse+My SQL+TomCat
💻 TLD
📖 第 1 页 / 共 3 页
字号:
    <attribute>      <name>keepStatus</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <type>boolean</type>      <description>        Preserve the current paging/sort status across session. The default is false (do not use sessions). Note that        for this to work properly you need to assign to each table in your application a different id.      </description>    </attribute>    <attribute>      <name>clearStatus</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <type>boolean</type>      <description>Clears the current paging/sort status saved in session.</description>    </attribute>    <attribute>      <name>form</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <description>        Uses post for paging/sorting links, by submitting the for with the given name. Note that this form will not be        created by displaytag, and it must exist in page.      </description>    </attribute>    <example>      <![CDATA[<display:table name="someList" export="true" id="row" requestURI="MyAction.do">  <display:column sortable="true" title="ID"> <c:out value="${row.id}"/> </display:column>  <display:column property="email" autolink="true"/>  <display:column property="description" title="Comments"/></display:table>]]>    </example>  </tag>  <tag>    <name>column</name>    <tag-class>org.displaytag.tags.ColumnTag</tag-class>    <body-content>JSP</body-content>    <display-name>column</display-name>    <description>      Displays a property of a row object inside a table. MUST be nested inside of a Table tag. The value displayed will      be the results of a decorator (if any); else the property named by the 'property' attribute; or if the 'property'      attribute is null, then the results of evaluating the JSP body of the tag.    </description>    <attribute>      <name>property</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <type>java.lang.String</type>      <description>        name of the property in the bean specified in the parent table tag (via the "name" attribute) mapped to this        column      </description>    </attribute>    <attribute>      <name>sortProperty</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <type>java.lang.String</type>      <description>        name of the property in the bean specified in the parent table tag (via the "name" attribute) which will be used        to sort values in the column. This can be used when the column body is filled or a decorator is used and column        should sort on undecorated values.      </description>    </attribute>    <attribute>      <name>title</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <type>java.lang.String</type>      <description>title of the column (text for the th cell)</description>    </attribute>    <attribute>      <name>comparator</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <description>        The classname of comparator to use when sorting this column, or the comparator itself. Defaults to the        DefaultComparator.      </description>    </attribute>    <attribute>      <name>titleKey</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <description>        Resource key used to lookup the title value. Only works if "title" is not defined. Works together with a        configured I18nResourceProvider, specified via the displaytag.properties file. By default, if JSTL is available,        the JSTL provider is used, which makes this attribute work the same as fmt:message's key property.      </description>    </attribute>    <attribute>      <name>nulls</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <type>boolean</type>      <description>        By default, null values don't appear in the list. By setting 'nulls' to 'true', then null values will appear as        "null" in the list (mostly useful for debugging). Defaults to 'false'.      </description>    </attribute>    <attribute>      <name>total</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <type>boolean</type>      <description>        If true, will total the contents of this column. This value is available via the Map named in varTotals for the        table. Column values need to Numbers.      </description>    </attribute>    <attribute>      <name>sortable</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <type>boolean</type>      <description>Set to 'true' to make the column sortable. Defaults to 'false'.</description>    </attribute>    <attribute>      <name>defaultorder</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <type>java.lang.String</type>      <description>        The default sort order for this column. Valid values are "ascending" (default) or "descending"      </description>    </attribute>    <attribute>      <name>autolink</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <type>boolean</type>      <description>        Automatically hyperlink URLs and email addresses that appear in the column. Defaults to 'false'.      </description>    </attribute>    <attribute>      <name>format</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <type>java.lang.String</type>      <description>        A MessageFormat patter that will be used to decorate objects in the column. Can be used as a "shortcut" for        simple column decorations. @since 1.1      </description>    </attribute>    <attribute>      <name>escapeXml</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <type>boolean</type>      <description>        Set it to true to escape special characters in html and xml output. Defaults to 'false'. @since 1.1      </description>    </attribute>    <attribute>      <name>media</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <type>java.lang.String</type>      <description>        Use this attribute to keep a column from being output during an export. The column 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>    <attribute>      <name>href</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <type>java.lang.String</type>      <description>        <![CDATA[        The base URL used to construct the dynamic link. If this attribute is provided, then the data that is shown for        this column is wrapped inside a <a href=""> tag with the url provided through this attribute. Typically you        would use this attribute along with one of the struts-like param attributes (param*) to create a dynamic link so        that each row creates a different URL based on the data that is being viewed. An empty href value will generate        a link to the current page, preserving parameters just like for paging links.]]>      </description>    </attribute>    <attribute>      <name>url</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <type>java.lang.String</type>      <description>        The base URL used to construct the dynamic link. This attribute has the same functionality as the href        attribute, but it pre-pends the contextPath.      </description>    </attribute>    <attribute>      <name>paramId</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <type>java.lang.String</type>      <description>        The name of the request parameter that will be dynamically added to the generated href URL. The corresponding        value is defined by the paramProperty and (optional) paramName attributes, optionally scoped by the paramScope        attribute.      </description>    </attribute>    <attribute>      <name>paramName</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <type>java.lang.String</type>      <description>        The name of a JSP bean that is a String containing the value for the request parameter named by paramId (if        paramProperty is not specified), or a JSP bean whose property getter is called to return a String (if        paramProperty is specified). The JSP bean is constrained to the bean scope specified by the paramScope property,        if it is specified. If paramName is omitted, then it is assumed that the current object being iterated on is the        target bean.      </description>    </attribute>    <attribute>      <name>paramProperty</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <type>java.lang.String</type>      <description>        The name of a property of the current object being iterated on, whose return value will be used as the value of        the parameter (named by the paramId attribute) that will be dynamically added to this href URL. If paramName is        also specified the property will not be fetched from the object being iterated on, but from the bean specified        by paramName. The support of paramProperty in conjunction with paramName will be probably removed in future: use        paramProperty only if you need a property in the iterated object, elsewhere use only paramName (you can select a        property using an expression name.property).      </description>    </attribute>    <attribute>      <name>paramScope</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <type>java.lang.String</type>      <description>        @deprecated - use Expressions in paramName. The scope within which to search for the bean specified by the        paramName attribute. If not specified, all scopes are searched. If paramName is not provided, then the current        object being iterated on is assumed to be the target bean.      </description>    </attribute>    <attribute>      <name>maxLength</name>      <required>false</required>      <rtexprvalue>true</rtexprvalue>      <type>int</type>      <description>

⌨️ 快捷键说明

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