popup.hide doesn't work
grodnoOct 27 2011 — edited Oct 27 2011Hi,
i want to run a long-running procedure, showing popup while it's working.
in my managed bean i invoke code which is called from command button
private RichPopup p1
.................
public String cb1_action() {
RichPopup.PopupHints ph = new RichPopup.PopupHints();
ph.add(RichPopup.PopupHints.HintTypes.HINT_ALIGN, RichPopup.PopupHints.AlignTypes.ALIGN_AFTER_END);
p2.show(ph);
.............
Object result = operationBinding.execute();
p1.hide();
}
So , wierdly, upon button pressed , i see table populating, then popup appears, and that's it, it never closes.
what's wrong?
Regards,
AB