-
FEATURED COMPONENTS
First time here? Check out the FAQ!
If I open a popup window then how could I get the values of the popup components? I am new to ZK so please excuse my limited knowledge. I googled before jumping here. I can access a button after loading Zul file.
ComponentAgent btn = desktop.query("#btn");
If I open a popup window (win id win1) and try access the btn on popup window zats give me a test failure. Any suggestion?
I also tried the following code but it returns null:
ComponentAgent btn = desktop.query("#win1").query("#btn");
Hello agazerboy,
A good example of how to use a pop up window can be found at the following url:
http://www.zkoss.org/zkdemo/gettingstarted/dialogpopup
But based on your description you probably need to create a new window with bind composer, which will be associated to a controller in order to pass, and send back parameters.
Let me know if you need more information.
Best Regards,
Darksu
Asked: 2014-08-20 17:11:46 +0800
Seen: 14 times
Last updated: Aug 22 '14
ZATS: Error 500 when connecting to ZUL due to missing class org.zkoss.xel.zel.XelELResolver
ZATS DesktopAgent.query not working with id's
ZATS: NoSuchMethodError getContextPath()
ZATS Mimic - Replacing Server Emulator (Jetty Lite) with Glassfish
ZATS does not work with combobox MVVM @save