📄 displaytag-11.tld
字号:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE taglib PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.1//EN" "http://java.sun.com/j2ee/dtds/web-jsptaglibrary_1_1.dtd">
<taglib>
<tlibversion>1.0-b3</tlibversion>
<jspversion>1.2</jspversion>
<shortname>display</shortname>
<uri>http://jakarta.apache.org/taglibs/display</uri>
<info>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.</info>
<tag>
<name>table</name>
<tagclass>org.displaytag.tags.TableTag</tagclass>
<teiclass>org.displaytag.tags.TableTagExtraInfo</teiclass>
<bodycontent>JSP</bodycontent>
<info>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.
</info>
<attribute>
<!--Reference to the object used as source for the table. Can be an expression like
requestScope.object.property . You must define either the name attribute or the list attribute. List is suggested.-->
<name>list</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<!--reference to the object used as source for the table. Can be an expression like
requestScope.object.property. You need to define name or list. List is suggested.
-->
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<!--@deprecated in displaytag 1.0. Use list.property in "name" attribute.-->
<name>property</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<!--@deprecated in displaytag 1.0. Use "pageScope.", "requestScope.", "sessionScope.", "applicationScope." prefixes in name.-->
<name>scope</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<!--number of records to be shown-->
<name>length</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<!--index of the first record to be shown-->
<name>offset</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<!--number of records in a page-->
<name>pagesize</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<!--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. -->
<name>decorator</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<!--When the present, links for sorting, exports, and paging are formed by adding any tag generated
parameters to the value of requestURI attribute.-->
<name>requestURI</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<!--@deprecated html attribute. Use "style" or "class" to set presentational attributes using css.-->
<name>width</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<!--html pass through attribute-->
<name>style</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<!--html pass through attribute-->
<name>class</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<!--@deprecated: use "class"-->
<name>styleClass</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<!--@deprecated html pass through attribute. Use css "border"-->
<name>border</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<!--html pass through attribute-->
<name>cellspacing</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<!--html pass through attribute. Better using "padding" css attribute in style or class-->
<name>cellpadding</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<!--@deprecated html attribute. Use "style" or "class" to set presentational attributes using css.-->
<name>align</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<!--@deprecated html attribute. Use "style" or "class" to set presentational attributes using css.-->
<name>background</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<!--@deprecated html attribute. Use "style" or "class" to set presentational attributes using css.-->
<name>bgcolor</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<!--html pass through attribute.-->
<name>frame</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<!--@deprecated html attribute. Use "style" or "class" to set presentational attributes using css.-->
<name>height</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<!--@deprecated html attribute. Use "style" or "class" to set presentational attributes using css.-->
<name>hspace</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<!--html pass through attribute. -->
<name>rules</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<!--html pass through attribute-->
<name>summary</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<!--@deprecated html attribute. Use "style" or "class" to set presentational attributes using css.-->
<name>vspace</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<!--enable/disable export. Valid values are true or false -->
<name>export</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<!--An implicit variable of this name will be created and placed into NESTED scope. The object is
also added to pageContext under this name.-->
<name>id</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<!--Use 'page' if you want to sort only visible records, or 'list' if you want to sort the full list-->
<name>sort</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<!--The index of the column that will be used by default for sorting-->
<name>defaultsort</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<!--The default order for the sorted column. Valid values are "ascending" (default) or "descending"-->
<name>defaultorder</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>column</name>
<tagclass>org.displaytag.tags.ColumnTag</tagclass>
<bodycontent>JSP</bodycontent>
<info>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.
</info>
<attribute>
<!--name of the property in the bean specified in the parent table tag (via the "name" attribute) mapped to
this column-->
<name>property</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<!--title of the column (text for the th cell)-->
<name>title</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<!--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'. -->
<name>nulls</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<!--@deprecated: use "sortable"-->
<name>sort</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<!--Set to 'true' to make the column sortable. Defaults to 'false'.-->
<name>sortable</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -