📄 divpage-taglib.tld
字号:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!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>page list</short-name>
<!--<uri>http://jakarta.apache.org/tomcat/kbq-taglib</uri>-->
<uri>http://xiaolie.vicp.net/kbq-taglib</uri>
<description>
A tab library for list pages
</description>
<!-- a set of pages roller tag -->
<tag>
<name>pages_roller</name>
<tag-class>com.xiaolie.tag.pages.PagesRollerTag</tag-class>
<tei-class>com.xiaolie.tag.pages.PagesRollerExtraInfo</tei-class>
<description>
if have next page to show a content of link to next page.
this rag is write after list and must have a attribute "sumPages"
</description>
<attribute>
<name>sumPages</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>first_page</name>
<tag-class>com.xiaolie.tag.pages.FirstPageTag</tag-class>
<description>
if current page is not first page to show a content of link to first page.
</description>
</tag>
<tag>
<name>next_page</name>
<tag-class>com.xiaolie.tag.pages.NextPageTag</tag-class>
<!--<tei-class>com.xiaolie.tag.pages.NextPageExtraInfo</tei-class>-->
<description>
if have next page to show a content of link to next page.
</description>
</tag>
<tag>
<name>prev_page</name>
<tag-class>com.xiaolie.tag.pages.PrevPageTag</tag-class>
<description>
if have prev page to show a content of link to next page.
</description>
</tag>
<tag>
<name>last_page</name>
<tag-class>com.xiaolie.tag.pages.LastPageTag</tag-class>
<description>
if current page is not last page to show a content of link to first page.
</description>
</tag>
<tag>
<name>list_control</name>
<tag-class>com.xiaolie.tag.pages.ListControlTag</tag-class>
<tei-class>com.xiaolie.tag.pages.ListControlExtraInfo</tei-class>
<description>
It contain sub tag: list_prev_tag,list_page,list_next_tag.
You can set Max list number attribute here.
</description>
<attribute>
<name>maxNum</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>list_prev_pages</name>
<tag-class>com.xiaolie.tag.pages.ListPrevPageTag</tag-class>
<!--<tei-class>com.xiaolie.tag.pages.ListPrevPageExtraInfo</tei-class>-->
<description>
show a prev 10 pages list.
</description>
</tag>
<tag>
<name>list_pages</name>
<tag-class>com.xiaolie.tag.pages.ListPageTag</tag-class>
<tei-class>com.xiaolie.tag.pages.ListPageExtraInfo</tei-class>
<description>
show a page list.
</description>
</tag>
<tag>
<name>list_next_pages</name>
<tag-class>com.xiaolie.tag.pages.ListNextPageTag</tag-class>
<!--<tei-class>com.xiaolie.tag.pages.ListNextPageExtraInfo</tei-class>-->
<description>
show a next 10 pages list.
</description>
</tag>
</taglib>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -