-
FEATURED COMPONENTS
First time here? Check out the FAQ!
example:
final Window win=(Window)Execution.createComponents("abc.zul",null,null);
win.doModal();
show win anywhere in screen, What should i do?
1) what do you mean "show win anywhere in screen, What should i do?"?
2) why are you using null for the second parameter to createComponents()? I bet the window is obscured...
..neata :)
did you find a solution to open a modal window at a specific position? maybe x and y specific.
how can a modal window be positioned (center, left etc) with respect to the zul file that contains it and not with respect to the browser?
take this example:
<div sclass="wrapper"> <vbox width="30%"> <include id="west_content"> </vbox> <vbox> <include id="east_content"> </vbox> </div>
the wrapper centers the zul in the center of the browser. the east_content's zul contains a modal window which by default is centered in the center of the browser. how can this modal window be centered in the center of the east_content?
Asked: 2011-03-24 22:08:27 +0800
Seen: 268 times
Last updated: Feb 29 '12