Mix ZK JSP Tags with Other Tag Libraries"

From Documentation
(Created page with 'You are free to mix ZK JSP tags and any other tags. =Use ZK JSP Tags + JSTL Tags= Here we illustrate it with an example: ZK JSP Tags + JSTL Tags. First, we have to specify JST…')
 
 
Line 1: Line 1:
 +
{{ZKJSPTagsEssentialsPageHeader}}
 +
 
You are free to mix ZK JSP tags and any other tags.  
 
You are free to mix ZK JSP tags and any other tags.  
  
Line 34: Line 36:
 
</zk:window>
 
</zk:window>
 
</source>
 
</source>
 +
 +
 +
=Version History=
 +
{{LastUpdated}}
 +
{| border='1px' | width="100%"
 +
! Version !! Date !! Content
 +
|-
 +
| &nbsp;
 +
| &nbsp;
 +
| &nbsp;
 +
|}
 +
{{ZKJSPTagsEssentialsPageFooter}}

Latest revision as of 07:20, 26 November 2010


DocumentationZK JSP Tags EssentialsWorking with ZK JSP TagsMix ZK JSP Tags with Other Tag Libraries
Mix ZK JSP Tags with Other Tag Libraries



You are free to mix ZK JSP tags and any other tags.

Use ZK JSP Tags + JSTL Tags

Here we illustrate it with an example: ZK JSP Tags + JSTL Tags.

First, we have to specify JSTL TLD too:

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

Then, we can mix the use as shown below:

<zk:window title="table and grid in window" border="normal" width="300px">
	<table border="1">
		<c:forEach var="i" begin="1" end="3" step="1" varStatus="status">
			<tr>
				<td>Item ${i}</td>
			</tr>
		</c:forEach>
	</table>
	<zk:grid>
		<zk:columns>
			<zk:column label="column" sort="auto" />
		</zk:columns>
		<zk:rows>
			<c:forEach var="i" begin="1" end="3" step="1" varStatus="status">
				<zk:row>
					<zk:label value="Item ${i}" />
				</zk:row>
			</c:forEach>
		</zk:rows>
	</zk:grid>
</zk:window>


Version History

Last Update : 2010/11/26


Version Date Content
     


Last Update : 2010/11/26

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.