intercept.jsp

来自「j2ee开发优秀的表格控件」· JSP 代码 · 共 75 行

JSP
75
字号
<%@ taglib uri="/tld/extremecomponents" prefix="ec" %><%@ taglib uri="/tld/c" prefix="c" %><html><head>	<title>eXtremeComponents</title></head><body>	<h3>Intercept</h3>		<p>		An example using the Intercept feature. This example shows 		that the rows with the "Soldier" career is highlighted.	</p>		<p>		Read the		<a href="<c:url value="/public/tutorial/intercept.html"/>">			tutorial		</a>  		for more information.	</p>		<br/>	<ec:table 		items="presidents"		action="${pageContext.request.contextPath}/intercept.run" 		title="Presidents"		showTooltips="false"		>		<ec:row highlightRow="false" intercept="marker">					<ec:column property="fullName" title="Name" />			<ec:column property="nickName" />			<ec:column property="term" />			<ec:column property="born" cell="date"/>			<ec:column property="died" cell="date"/>			<ec:column property="career"/>				</ec:row>			</ec:table>		<br/>				<p>		Below is the code that generates the above display.		</p>			<pre>&lt;ec:table     items="presidents"    action="${pageContext.request.contextPath}/intercept.run"     title="Presidents"    showTooltips="false"    &gt;    &lt;ec:row highlightRow="false" <b>intercept="marker"</b>&gt;        &lt;ec:column property="fullName" title="Name" /&gt;        &lt;ec:column property="nickName" /&gt;        &lt;ec:column property="term" /&gt;        &lt;ec:column property="born" cell="date"/&gt;        &lt;ec:column property="died" cell="date"/&gt;        &lt;ec:column property="career"/&gt;    &lt;/ec:row&gt;&lt;/ec:table&gt;</pre>			</body></html>

⌨️ 快捷键说明

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