0

zk + spring MVC + Liferay Portlet Integration

asked 2009-03-12 06:53:23 +0800

cjraman gravatar image cjraman
6

I am in the process of deploying zk portlets in liferay. I have multiple zk pages in my portlet.

The architecture is such a way that i am calling the .htm file from a .zul file, which goes to spring controller and then it is redirected to another zul file. This works fine as a web application and we have issues when we convert this as a portlet. When we call the url from the .zul it opens as a seperate window since the URL is static and it treats that as an web application.

In case of jsp we have an option like <portlet:actionURL/> to generate dynamic url which can be used to submit the page. I want to know whether is there any option available in zk to achieve the same.

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2009-04-02 20:05:23 +0800

scull gravatar image scull
24

you can access to a actionRequest.createActionUrl
or response.createRenderUrl

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: 2009-03-12 06:53:23 +0800

Seen: 573 times

Last updated: Apr 02 '09

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