📄 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-rc2</tlibversion>
<jspversion>1.2</jspversion>
<shortname>display</shortname>
<uri>http://displaytag.sf.net</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. In the EL version of the taglibrary this must be an EL expression which points to
the source object. -->
<name>name</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<!--@deprecated in displaytag 1.0. Use list.property in "name" attribute. Not supported in the EL
version of the tag.-->
<name>property</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<!--@deprecated in displaytag 1.0. Use "pageScope.", "requestScope.", "sessionScope.",
"applicationScope." prefixes in name. Not supported in the EL version of the tag.-->
<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>
<!--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.-->
<name>excludedParams</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. Two tables in the same page can't have the same id (paging and sorting
will affect both).-->
<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 (starting from 1)-->
<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>
<!--works the same as fmt:message's key property. You must define a fmt:bundle using JSTL or in your
web.xml in order for this attribute to work.-->
<name>titleKey</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>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -