Hi,
Based on an event, i invoke a long running task.
Before the task starts, i show a pop up to the user and when the task finishes, the pop up is hide.
Code:
final PopupPanel pp = HotelClientUtil.getUpdatingPopup();
pp.center();
Scheduler.get().scheduleDeferred(new ScheduledCommand() {
@Override
public void execute() {
resetFilter();
pp.hide();
}
});
The problem is that the pop up is not shown even for a micro seconds.
As soon as i trigger the event, the page gets blocked till it completes the execution.
What i want is to make the pop up visible till the task continues.
What wrong i am doing here?
--
Deepak Singh