Re: How to load data BEFORE showing view/presenter?

2010-12-02 Thread Matthew Hill
Thank you Thomas, that sounds very promising. I'll try that out. On 3 December 2010 01:53, Thomas Broyer wrote: > > On 1 déc, 02:27, Matt H wrote: > > Hi. > > > > If you poke around some of Google's GWT apps, you'll find that when > > you click on anything which requires more data to be loaded,

Re: How to load data BEFORE showing view/presenter?

2010-12-02 Thread Thomas Broyer
On 1 déc, 02:27, Matt H wrote: > Hi. > > If you poke around some of Google's GWT apps, you'll find that when > you click on anything which requires more data to be loaded, that a > 'loading' sign is displayed at the top of the screen, and while > loading, it stays on the current view, and then wh

Re: How to load data BEFORE showing view/presenter?

2010-12-01 Thread metalhammer29a
sorry, I believe I misunderstood your question. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+uns

Re: How to load data BEFORE showing view/presenter?

2010-12-01 Thread metalhammer29a
I do not know the answer to this. and would like to find out as I am in the similar situation. However I have come across this class: com.google.gwt.requestfactory.shared.RequestEvent http://google-web-toolkit.googlecode.com/svn/javadoc/2.1/com/google/gwt/requestfactory/shared/RequestEvent.html

Re: How to load data BEFORE showing view/presenter?

2010-12-01 Thread Matthew Hill
Sorry, I should've mentioned that I'm using GWT 2.1 Activities + Places. On 1 December 2010 20:22, ep wrote: > depends on the MVP framework you use - gwtp for instance, already > supports it, if GWT MVP does not, then you can subclass presenter, > call it "IndicatingPresenter" and add one more l

Re: How to load data BEFORE showing view/presenter?

2010-12-01 Thread ep
depends on the MVP framework you use - gwtp for instance, already supports it, if GWT MVP does not, then you can subclass presenter, call it "IndicatingPresenter" and add one more lifecycle state, because the presenter will be lazy loaded and shows a loading indicator until its data is not availabl

Re: How to load data BEFORE showing view/presenter?

2010-12-01 Thread Matt H
Anyone? Surely it's simple enough to do? On Dec 1, 1:27 am, Matt H wrote: > Hi. > > If you poke around some of Google's GWT apps, you'll find that when > you click on anything which requires more data to be loaded, that a > 'loading' sign is displayed at the top of the screen, and while > loading

How to load data BEFORE showing view/presenter?

2010-12-01 Thread Matt H
Hi. If you poke around some of Google's GWT apps, you'll find that when you click on anything which requires more data to be loaded, that a 'loading' sign is displayed at the top of the screen, and while loading, it stays on the current view, and then when the data for the next view has been downl