0

ZK Template in JSP.

asked 2013-12-12 18:37:02 +0800

shivak gravatar image shivak
21 3

updated 2013-12-13 17:28:54 +0800

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>**
delete flag offensive retag edit

Comments

Any clues on this?

shivak ( 2013-12-13 17:30:52 +0800 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2014-01-19 13:15:51 +0800

sitansu gravatar image sitansu
2254 13
http://java91.blogspot.in...

Just See this Docs

link publish delete flag offensive edit
Your answer
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow
2 followers

RSS

Stats

Asked: 2013-12-12 18:37:02 +0800

Seen: 18 times

Last updated: Jan 19 '14

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More