0

JSP + JSP ZK + SPRING

asked 2010-05-15 20:42:32 +0800

kmilo gravatar image kmilo
12

Hello:
I'm trying to integrate my web application (i used spring for the bussines and persistence tiers) with ZK.
In my web tier im using JSP, so the first thing i did was to integrate ZK-JSP with the proyect and it worked, i'm also using ZK-Spring to integrate it with spring.
But , How do i bind data from and to my bussines layer (spring beans)?

In my JSP page i'm using :

<%@ taglib uri="http://www.zkoss.org/jsp/zul" prefix="zk" %>
<zk:page>
<?variable-resolver class="org.zkoss.zkplus.spring.DelegatingVariableResolver"?>
<zk:window>
<zk:grid width="100px" height="100px" model="${categoryManager.categories}">
<zk:columns>
<zk:column label="options"/>
</zk:columns>
</zk:grid>
</zk:window>
</zk:page>

My spring bean is categoryManager that i'm using in the model attribute.

When running the application in tomcat 5.5 i got an exception.

Do you know how to make that binding between the spring beans and ZK-JSP?

i'll appreciate the help

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2010-05-17 08:36:15 +0800

kmilo gravatar image kmilo
12

Any Help:

Does anybodydo know how to bind data from my spring bean to JSP-zK ??

I'll appreciate the help

link publish delete flag offensive edit

answered 2010-05-18 03:56:17 +0800

PeterKuo gravatar image PeterKuo
481 2

Have you use zkspring?
http://www.zkoss.org/product/zkspring.dsp

link publish delete flag offensive edit

answered 2010-05-18 08:02:08 +0800

kmilo gravatar image kmilo
12

Hello:
Yes... im using it.
I put it in the WEB-INF/lib and in the build path.

The real matter here should be if anyone has tried to make the ZKJSP and ZKSPRING integration.

link publish delete flag offensive edit
Your reply
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

RSS

Stats

Asked: 2010-05-15 20:42:32 +0800

Seen: 398 times

Last updated: May 18 '10

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