gwt - Vaadin (7.0.5) Window not opening until end of calling procedure -
i trying open modal window during click handler verify user action window doesn't appear until handler completes. window code can simple following , still not display isn't abstract class.
window w = new window(); w.setmodal(true); w.setimmediate(true); // add components etc etc ui.getcurrent().addwindow(w); i add action code windows ok/yes handler stop me creating generic message class simplify/stop code duplication.
i guessing there dont understand how vaadin/gwt works (still newbie!), point me in right direction?
cheers
for ui stuff, have stop thinking of sequencial programming, better think event-driven concepts.
for vaadin create dialog window asks yes/no question. in app create dialog , display it. , attach event-handler fired when user clicks yes/no, , inside handler required actions in code.
you can @ add-on
Comments
Post a Comment