⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 example-pse.jsp

📁 分页标签
💻 JSP
字号:
<jsp:root version="1.2" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:display="urn:jsptld:http://displaytag.sf.net">  <jsp:directive.page contentType="text/html; charset=UTF-8" />  <jsp:directive.page import="org.displaytag.sample.*" />  <jsp:include page="inc/header.jsp" flush="true" />  <jsp:scriptlet> request.setAttribute( "test", new ReportList() ); </jsp:scriptlet>  <h2>Paging + sorting + grouping + exporting working together</h2>  <display:table name="test" export="true" sort="list" pagesize="8">    <display:column property="city" title="CITY" group="1" sortable="true" headerClass="sortable" />    <display:column property="project" title="PROJECT" group="2" sortable="true" headerClass="sortable" />    <display:column property="amount" title="HOURS" />    <display:column property="task" title="TASK" />  </display:table>  <p>What happen if you put everything together, sorting the full list (attribute <code>sort="list"</code>), using  pagination and exporting?</p>  <p>When sorting is enabled on the full list, the page number is automatically reset if you change the sorted column or  the sort order.</p>  <p>Exported documents contain the full list. Grouping is not applied in the exported documents.</p>  <jsp:include page="inc/footer.jsp" flush="true" /></jsp:root>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -