📄 20fa7a4d8d15001d1e7bf8a0dd1280b5
字号:
<jsp:root version="1.2" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:display="urn:jsptld:http://displaytag.sf.net">
<jsp:directive.page import="java.util.List"/>
<jsp:directive.page contentType="text/html; charset=UTF-8" />
<jsp:directive.page import="org.displaytag.*" />
<jsp:include page="inc/header.jsp" flush="true" />
<h2>Two tables working together in the same page with independent
paging-sorting</h2>
<%List listT = (List)request.getAttribute("list");
request.setAttribute("test",listT);
%>
<display:table name="test" pagesize="1">
<display:column property="blNo"></display:column>
</display:table>
<p>Do you need to put more than one <code><![CDATA[<display:table>]]></code> in the same page, with independent
pagination and sorting?</p>
<p>No problem: parameter in pagination, sorting and exporting are encoded to be processed only by the source table.
The only requirement is to provide a different <code>id</code> attribute for the table. If you click on sorting or
pagination links in one of the previous tables the other one doesn't get affected by that.</p>
</jsp:root>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -