-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3692035
By: java-ca1
Can anyone please help me with this:
in my POC I've defined a set of *.zul pages that implements a kind of "composite view" pattern, in this way I can have a nice side menu (tab based) and every time that the user selects an option I just replace the content of one of the pages in the desktop called "contentpage".
Everything worked fine until I tried to call JSPs and use custom tags on them.
For example, my problem arises when I try to use DisplayTag in JSPs that have been included in a ZUL page using the include command <include src="myjsp.jsp"/>
the first time that the JSP is loaded, when the page is created in "include"
is rendered, I get the results and DisplayTag is showing the right values for the first page, of course the returned collection has more elements thatn the displayed, therefore DisplayTag creates paging for handling it.
I noticed that the links within display tag have been replaced by :
href="/zkpoc/zkau?dtid=ggpr1&d-49653-p=1&uuid.0=_pc11&data.0=_pca1&a
mp;cmd.0=onSelect">First</a>/<a
href="/zkpoc/zkau?dtid=ggpr1&d-49653-p=1&uuid.0=_pc11&data.0=_pca1&a
mp;cmd.0=onSelect">Prev</a>]
which I think is right, the problem that I have, is that once I click the link, the zkau engine returns an XML file rather than displaying the content of the JSP.
Is like the zkau engine wrap everything around an XML file and returns it rather than rendering this content.
I have a document with screenshots and outputs if it helps at all.
How can I fix it?
Can anyone please give me some advice or some extra info of how can I approach it.
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3692128
By: henrichen
Can you provide a small version of jsp and zul page that would replicate the issue you mentioned so we can handle it without any misunderstanding? Thanks.
/henri
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4853071
By: osaline
I have a similar problem.
I have a window.zul where I include some jsp pages. One of this jsp page uses an pagination displayTag. When I try to use de pagination I have http://localhost:8080/application/zkau?pager.offset=10 or http://localhost:8080/application/zkau
ZK doesn't call any method of my application.
I don't know what to do anymore.
Aline
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4854223
By: waterbottle
I think this is because you include a jsp file from a ajax update(http://localhost:8080/application/zkau).
and DisplayTag generates pagination link with this ajax update url (because it is page/url base).
then you got (http://localhost:8080/application/zkau?pager.offset=10)
This is integration problem between ZK and DisplayTag.
Please post it to be a feature request.
/Dennis
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=4854256
By: waterbottle
And, DisplayTag is url base, it generate a url link.
which means user click a next page will redirect/reload current page again, then full page will be reload.
(maybe miss some status depends on your implementation) it is not ajax anymore, do you really want this?
Asked: 2006-04-18 12:29:23 +0800
Seen: 361 times
Last updated: Mar 21 '08