java中display1,displaytag.tld 源代码在线查看 - 主要用到Java方面的FCK编辑器,displaytag标签,Ajax,Struts,Spring,Hibernate等各...

"http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd"> 1.1 1.2 display http://displaytag.sf.net Display *: Tag Library 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. table org.displaytag.tags.TableTag org.displaytag.tags.TableTagExtraInfo JSP table 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. list false true 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. Using "Name" is suggested. name false true 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. length false true int number of records to be shown offset false true int index of the first record to be shown pagesize false true int number of records in a page decorator false true java.lang.String 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. requestURI false true java.lang.String When the present, links for sorting, exports, and paging are formed by adding any tag generated parameters to the value of requestURI attribute. requestURIcontext false true boolean 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. excludedParams false true java.lang.String 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. varTotals false true java.lang.String Store a java.util.Map of the column totals in a pageContext variable by this name. The keys of the map are "column" and the column number (first column is "column1", etc); values are the corresponding total for the column; columns that are not marked as to total="true" will be omitted from the map. The variable will ONLY be available within the footer tag and after the end of the table, it is not available with the body of the table or columns. style false true java.lang.String html pass through attribute class false true java.lang.String html pass through attribute cellspacing false true java.lang.String html pass through attribute cellpadding false true java.lang.String html pass through attribute. Better using "padding" css attribute in style or class frame false true java.lang.String html pass through attribute. rules false true java.lang.String html pass through attribute. summary false true java.lang.String html pass through attribute htmlId false true java.lang.String html "id" pass through attribute export false true boolean enable/disable export. Valid values are true or false id false true java.lang.String See "uid". The id attribute can't be a runtime expression in jsp 1.0 compliant containers, while uid will allow it. uid false true java.lang.String Unique id used to identify this table. The object representing the current row is also added to the pageContext under this name and the current row number is added using the key uid_rowNum. Two tables in the same page can't have the same uid (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. sort false true java.lang.String Use 'page' if you want to sort only visible records, or 'list' if you want to sort the full list, or 'external' if the data is sorted outside displaytag. defaultsort false true int The index of the column that will be used by default for sorting (starting from 1) defaultorder false true java.lang.String The default order for the sorted column. Valid values are "ascending" (default) or "descending" partialList false true boolean enable/disable partialLists. Valid values are true or false size false true Used only when partialList=true. Reference to the Integer object containing the size of the total dataset. 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. ]]> column org.displaytag.tags.ColumnTag JSP column 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. property false true java.lang.String name of the property in the bean specified in the parent table tag (via the "name" attribute) mapped to this column sortProperty false true java.lang.String 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. title false true java.lang.String title of the column (text for the th cell) comparator false true The classname of comparator to use when sorting this column, or the comparator itself. Defaults to the DefaultComparator. titleKey false true 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. nulls false true boolean 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'. total false true boolean 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. sortable false true boolean Set to 'true' to make the column sortable. Defaults to 'false'. defaultorder false true java.lang.String The default sort order for this column. Valid values are "ascending" (default) or "descending" autolink false true boolean Automatically hyperlink URLs and email addresses that appear in the column. Defaults to 'false'.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值