-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I try to explain the problem with my poor english.
Here is the thing.
i use two pages :aaa.zul. bbb.zul
in page aaa.zul, i click a button ,
public void onClick$btn() throws SuspendNotAllowedException,
InterruptedException
{
Window window = (Window) Executions.createComponents("bbb.zul", null,
null);
window.doModal();
String a = "aaa";
System.out.println(a);
}
i want to deal things in bbb.zul so i want the main thrad stop at window.domodal() and wait until i close bbb.zul closeed.
but when i debug it , i found the main thread continue when it execute window.doModal() and then execute String a = "aaa";
System.out.println(a) . window bbb.zul shows when System.out.println(a) has been executed .
i want the main thread stop at window.doModal() and wait until i close bbb,zul . how can i do?
:-)
Asked: 2012-05-24 03:46:23 +0800
Seen: 167 times
Last updated: May 24 '12