-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Using zk 6.5.4
I see Unsupported exception when I use template tag.
java.lang.UnsupportedOperationException: please use jsp template instead
what is the alternative to template tag? How to resolve this issue? Is this the right way to do? I want to integrate zk with existing JSPs.
Code:
**
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<z:page>
<z:listbox name="which">
<z:listitem label="choice 1"/>
<z:listitem label="choice 2"/>
</z:listbox>
<z:window apply="org.zkoss.bind.BindComposer" viewModel="@id('vm') @init('mymodel.MyMyList')" >
<z:grid height="350px" model="@load(vm.list)" >
<z:columns>
<z:column label="Subject" />
</z:columns>
<z:template name="model">
<z:row>
<z:label value="@load(each.subject)" />
<z:button label="Delete" />
</z:row>
</z:template>
</z:grid>
</z:window>
</z:page>
</body>
</html>**
Just See this Docs
Asked: 2013-12-12 18:37:02 +0800
Seen: 18 times
Last updated: Jan 19 '14
use Hibernate standard methods to manage Sessions ??
ZK tag raw text appended with object value
JSP and variable value from zscript
getting error while running spreadsheet jsp
How to include zul file in jsp file
jsp contents are not getting rendered redirected from zul page.
Any clues on this?
shivak ( 2013-12-13 17:30:52 +0800 )edit