首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > Java > 显示标签1码的变化-新标签属性”defaultpage”载入一个编号的结果页面的分页效果。

显示标签1码的变化-新标签属性”defaultpage”载入一个编号的结果页面的分页效果。

资 源 简 介

Following changes are made in Display Tag 1.0 tag library code and tag library descriptor in order to meet specific requirements. A new tag-attribute “defaultPage” of type “int” has been added to the TableTag. The org.displaytag.tags.TableTag.java code has been modified to add this attribute as well as associated getter-setter methods. In the initParameters () method of TableTag class, the logic to initialize the “pageNumber” instance variable has been modified. If user has provided the value to the “defaultPage” attribute, it should be considered to initialize the pageNumber, else the existing logic to initialize the pageNumber (either value of pageNumberParameter.initiValue () or else ‘1’ if pageNumberParameter is null.) has been used to initialize it. The difference in the original code line & modified code is as follows Original Code: this.pageNumber = (pageNumberParameter == null) ? 1 : pageNumberParameter.intValue(); Modified Co

文 件 列 表

DisplayTag1.0_ChangedCode
.classpath
.project
404.jsp
bin
ChangeDescription
css
details.jsp
example-autolink.jsp
example-callbacks.jsp
example-caption-footer.jsp
example-columns.jsp
example-config.jsp
example-datasource.jsp
example-decorator-link.jsp
example-decorator.jsp
example-details.jsp
example-export.jsp
example-grouping.jsp
example-imp-objects.jsp
example-misc.jsp
example-nestedtables.jsp
example-nocolumns.jsp
example-paging.jsp
example-pse.jsp
example-sorting.jsp
example-styles.jsp
example-subsets.jsp
example-twotables.jsp
favicon.ico
img
inc
index.jsp
js
src
WEB-INF

相 关 资 源

您 可 能 感 兴 趣 的

同 类 别 推 荐

VIP VIP