implement lazy loading in gwt for bigger widgets

Posted by wingdings on Stack Overflow See other posts from Stack Overflow or by wingdings
Published on 2011-02-04T07:21:11Z Indexed on 2011/02/04 7:25 UTC
Read the original article Hit count: 339

Filed under:
|
|

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);

}

© Stack Overflow or respective owner

Related posts about java

Related posts about gwt