in vaadin 7 application when first time trying access view - vaadin shows spinner , hide it. see blank screen 2-4 seconds(this heavy view) , after vaadin shows application.
how tell vaadin not hide spinner until view built ?
updated
this output information vaadin debug window(url ?debug
parameter):
i guess should possible show own spinner first thing in ui.init()
, "postpone" rest of lengthy init wrapping in access()
method (didn't test this). need @push
though.
@push public class myui extends ui { public void init() { ... // show spinner here access(new runnable() { @override public void run() { ... // lengthy initialization here... } }); } }
it possible though access
kick in rightaway , still blocks initial response spinner. if case, should wrap access
once more inside new thread()
.
Comments
Post a Comment