implement lazy loading in gwt for bigger widgets
- by wingdings
how do i implement lazy loading in gwt
just like the one they have in
http://www.smartclient.com/smartgwt/showcase/
and so
i would like the whole page to be loaded first and and after that i want all widgets to load
iv tried Gwt.runasync
but it aint doing much
also i tried using
Scheduler.get().scheduleDeferred(new ScheduledCommand() {
@Override
public void execute() {
loadWidgets();
}
});
void loadWidgets() {
hugeWidgets=load_some_huge_widgets();
RootLayoutPanel rp = RootLayoutPanel.get();
rp.add(hugeWidgets);
}