-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3851257
By: nobody
Here's the problem :
I have a window with a sub-window :
<window id="main" use="myclasses.MainWindow">
<window id="followcourse">
</window>
</window>
in a class, I want to get the window followcourse from the window main :
(Window) main.getFellow("followcourse"):
it works with the versions previous of zk 2.0 but it does not work anymore with version 2.x
What can I to to make it work ?
thanks
Orignial message at:
https://sourceforge.net/forum/message.php?msg_id=3852561
By: henrichen
I cannot replicate your issue. The following code works on demo site (2.1.0 RC2).
<window id="main" title="title">
<window id="followcourse" title="inner">
</window>
<zscript>
Window win = main.getFellow("followcourse");
win.appendChild(new Label("Hi"));
</zscript>
</window>
Asked: 2006-08-03 15:04:21 +0800
Seen: 1,130 times
Last updated: May 14 '10