0

Obtain composer reference for included zul?

asked 2013-06-29 08:32:22 +0800

Lesstra gravatar image Lesstra
193 1

Hi folks,
I was wondering if there's a way to obtain SelectorComposer reference of the included zul page? E.g. I have this dialog below, in which I include another ZUL (bundleProductList.zul), which has a composer applied, for which I need a reference within ChargeDlgCtrl.

Is this possible? Can I at least obtain Window (root component) reference of the included page, and how?
Thanks

<?taglib uri="http://www.zkoss.org/dsp/web/core" prefix="c"?>
<zk>
<window id="windowChargeDlg" border="none" vflex="true"
        apply="rs.sol.controller.product.ChargeDlgCtrl">
<grid>
    ...
    <row>
        <label value="${c:l('label.charging.product')}"/>
        <bandbox id="bandboxProduct" width="150px">
            <bandpopup id="bandpopupProduct" width="600px" height="300px">
                <include src="/WEB-INF/pages/bundle_product/bundleProductList.zul?embed=1" />
            </bandpopup>
        </bandbox>
    </row>
    ...
</window>
</zk>
delete flag offensive retag edit
Be the first one to answer this question!
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
1 follower

RSS

Stats

Asked: 2013-06-29 08:32:22 +0800

Seen: 16 times

Last updated: Jun 29 '13

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