-
FEATURED COMPONENTS
First time here? Check out the FAQ!
在窗体wintTest01上用Executions.createComponents(url,wintTest01,null)方法打开一个窗体winTest02,winTest02.doHighlighted(),在窗体winTest02上用同样的方法Executions.createComponents(url,wintTest02,null)再打开一个窗体winTest03,winTest03.doHighlighted()。如果窗体winTest03比winTest02大,则winTest03超出的会被阴影遮住,导致winTest03页面显示不完整,不知道各位大大有没有碰到这个问题,该如何解决,先谢谢各位了。
我试了一下没这个问题啊,code如下:
父窗:
<zk> <window id="win1" border="normal" title="zi窗" width="850px" height="650"> <button label="click me"> <attribute name="onClick"> Window win = Executions.createComponents("child.zul", null, null); win.doHighlighted(); </attribute> </button> </window> </zk>
<zk> <window id="win2" border="normal" title="子窗" width="350px" height="350"> <button label="click me"> <attribute name="onClick"> Window win = Executions.createComponents("grandchild.zul", null, null); win.doHighlighted(); </attribute> </button> </window> </zk>
<zk> <window id="win3" border="normal" title="子子窗" width="550px" height="550"> </window> </zk>
谢谢你的帮忙,我的条件是这样: Executions.createComponents("child.zul", win1, null);创建子窗体的时候就指定父窗体的, 这样如果子窗体移动到父窗体的外,就会出现阴影遮住的情况
<zk>
<window id="win1" border="normal" title="zi窗" width="850px" height="650">
<button label="click me">
<attribute name="onClick">
Window win = Executions.createComponents("child.zul", win1, null);
win.doHighlighted();
</attribute>
</button>
</window>
</zk>
Asked: 2010-03-12 07:29:58 +0800
Seen: 389 times
Last updated: Mar 15 '10