-
FEATURED COMPONENTS
First time here? Check out the FAQ!
can anyone please tell me how to pass parameters or arguments to windows class from ZU and hpw to return values from windows class to ZUL....
for example: in performing search operation if i give one string to search it has to search and retrieve the data....
is this a java OOD problem?
yes....after clicking on onclick submit method i am passing argument to window class which has written in java.....
For this kind of work I find taking all the data binding out of the ZUL and keeping it in the Java window class makes life easier. With the after compose binding it's trivial to add handlers and update display values in the Java code.
public class MyWindow extends Window implements AfterCompose @Override public void afterCompose() { Components.wireVariables(this, this); Components.addForwards(this, this); }
Hi Aaldaaf,
if u have any similar demo code can u please pass it to me...
Thanks
Asked: 2009-03-10 18:29:45 +0800
Seen: 167 times
Last updated: Mar 11 '09