How to set src of parents page?

asked 2008-06-23 08:40:59 +0800

admin gravatar image admin
18691 1 10 129
ZK Team

Orignial message at:

By: firedup0205

I have 3 page jsp

<x:include id="ABC" src="Page2.jsp"/>

<x:toolbarbutton label="Change" onClick="showNew()"/> <zk:zscript>
void showNew()
ABC.src = "Page3.jsp";

But ABC in Page2.jsp is a tag of Page1.jsp How to do this? Help me, please !! ^^

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2008-06-26 02:41:03 +0800

admin gravatar image admin
18691 1 10 129
ZK Team

Orignial message at:

By: zanyking

This is a JSP spec conflict problem.

what is the tag lib which X namespace indicated?
Is it a ZK JSP Tages or just another JSP tag library?

If it is other JSP tags than ZK, you can't do what you want through ZK, because the part of HTML generated by x:include is out of ZK's control.

If it is ZK JSP tags, then ZK only support including ZUL file not JSP.

in pure ZK world, you can use Execution.createComponents(java.lang.String uri, Component parent, java.util.Map arg).

please take a look at here:

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




Asked: 2008-06-23 08:40:59 +0800

Seen: 116 times

Last updated: Jun 26 '08

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