📄 displaytag-el-12.tld
字号:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
"http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib>
<tlib-version>1.0</tlib-version>
<jsp-version>1.2</jsp-version>
<short-name>display-el</short-name>
<uri>http://displaytag.sf.net/el</uri>
<display-name>Display *: Tag Library (EL)</display-name>
<description>
The display tag library is an open source suite of custom tags that provide high level web presentation patterns
which will work in a MVC model, and provide a significant amount of functionality while still being simple and
straight-forward to use. The primary tag in the library is the Table tag.
</description>
<tag>
<name>table</name>
<tag-class>org.displaytag.tags.el.ELTableTag</tag-class>
<body-content>JSP</body-content>
<display-name>table</display-name>
<description>
Displays a list in an html table, formatting each item in the list according to the Column tags nested
inside of this tag. Use the list attribute to indicate the Collection of data, in some scope, that the tag
should operate on. Supports the export of the list data to alternative formats such as CSV, Excel, and XML.
The contents of the list can be sorted, and the list can be broken into individual pages for display. If you
use this tag in Struts, or in some other framework where the page is included via a jsp:include, you should
use the requestURI attribute to indicate where tag generated links should point.
</description>
<attribute>
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
reference to the object used as source for the table. Can be an expression like
requestScope.object.property. In the EL version of the taglibrary this must be an EL expression which
points to the source object.
</description>
</attribute>
<attribute>
<name>length</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>number of records to be shown</description>
</attribute>
<attribute>
<name>offset</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>index of the first record to be shown</description>
</attribute>
<attribute>
<name>pagesize</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>number of records in a page</description>
</attribute>
<attribute>
<name>decorator</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
Fully qualified class name for a TableDecorator. Use a TableDecorator to provide custom operations
against the whole list, such as computing totals. Must extend org.displaytag.decorator.TableDecorator.
</description>
</attribute>
<attribute>
<name>requestURI</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
When the present, links for sorting, exports, and paging are formed by adding any tag generated
parameters to the value of requestURI attribute.
</description>
</attribute>
<attribute>
<name>requestURIcontext</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
Enable/disable prepending of application context to generated links. Default is true, you can set it to
false in order to generate cross-context links.
</description>
</attribute>
<attribute>
<name>excludedParams</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
<description>
Whitespace separated list containg the name of parameters which should NOT be forwarded during paging or
sorting. You can use excludedParams="*" to match (exclude) any parameter.
</description>
</attribute>
<attribute>
<name>width</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
@deprecated html attribute. Use "style" or "class" to set presentational attributes using css.
</description>
</attribute>
<attribute>
<name>style</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>html pass through attribute</description>
</attribute>
<attribute>
<name>class</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>html pass through attribute</description>
</attribute>
<attribute>
<name>styleClass</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>@deprecated: use "class"</description>
</attribute>
<attribute>
<name>border</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>@deprecated html pass through attribute. Use css "border"</description>
</attribute>
<attribute>
<name>cellspacing</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>html pass through attribute</description>
</attribute>
<attribute>
<name>cellpadding</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
html pass through attribute. Better using "padding" css attribute in style or class
</description>
</attribute>
<attribute>
<name>align</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
@deprecated html attribute. Use "style" or "class" to set presentational attributes using css.
</description>
</attribute>
<attribute>
<name>background</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
@deprecated html attribute. Use "style" or "class" to set presentational attributes using css.
</description>
</attribute>
<attribute>
<name>bgcolor</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
@deprecated html attribute. Use "style" or "class" to set presentational attributes using css.
</description>
</attribute>
<attribute>
<name>frame</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>html pass through attribute.</description>
</attribute>
<attribute>
<name>height</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
@deprecated html attribute. Use "style" or "class" to set presentational attributes using css.
</description>
</attribute>
<attribute>
<name>hspace</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
@deprecated html attribute. Use "style" or "class" to set presentational attributes using css.
</description>
</attribute>
<attribute>
<name>rules</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>html pass through attribute.</description>
</attribute>
<attribute>
<name>summary</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>html pass through attribute</description>
</attribute>
<attribute>
<name>htmlId</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>html "id" pass through attribute</description>
</attribute>
<attribute>
<name>vspace</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
@deprecated html attribute. Use "style" or "class" to set presentational attributes using css.
</description>
</attribute>
<attribute>
<name>export</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>enable/disable export. Valid values are true or false</description>
</attribute>
<attribute>
<name>id</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>See "uid".</description>
</attribute>
<attribute>
<name>uid</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
Unique id used to identify this table. The object representing the current row is also added to the
pageContext under this name, so that you can refer to it in column bodies using ${uid}. You can also use
uid_rowNum to refer to the current row number. Two tables in the same page can't have the same id
(paging and sorting will affect both). If no "htmlId" is specified the same value will be used for the
html id of the generated table.
</description>
</attribute>
<attribute>
<name>sort</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
Use 'page' if you want to sort only visible records, or 'list' if you want to sort the full list
</description>
</attribute>
<attribute>
<name>defaultsort</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<!--<type>int</type>-->
<description>
The index of the column that will be used by default for sorting (starting from 1)
</description>
</attribute>
<attribute>
<name>defaultorder</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>
The default order for the sorted column. Valid values are "ascending" (default) or "descending"
</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.el.ELColumnTag</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>
<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>
<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 undeorated values.
</description>
</attribute>
<attribute>
<name>title</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>title of the column (text for the th cell)</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>
<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>sort</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<description>@deprecated: use "sortable"</description>
</attribute>
<attribute>
<name>sortable</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -