MVP: show view after onLoad is done

2009-12-17 Thread mariyan nenchev
Hi, How can i show some view after onLoad is done. I have a popup which needs to be positioned according to some other widget, but this widget is also dynamically positioned, so i need to load the dom first and after that position the popup: pop.setPopupPosition(lastLabel.getLeft(),

Re: MVP: show view after onLoad is done

2009-12-17 Thread Jeff Chimene
Well, A couple ideas come to mind. The first one is to implement an IncrementalCommand. Have it return true while the view is building. Set a flag when the view is built. The IncrementalCommand checks this flag, does any cleanup and returns false. You can probably put the IncrementalCommand as an

Re: MVP: show view after onLoad is done

2009-12-17 Thread mariyan nenchev
Hi, Not sure what you talk about. I have never heard about IncrementalCommand, but I will look at it. -- 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

Re: MVP: show view after onLoad is done

2009-12-17 Thread Jeff Chimene
On Thu, Dec 17, 2009 at 8:53 AM, mariyan nenchev nenchev.mari...@gmail.comwrote: Hi, Not sure what you talk about. I have never heard about IncrementalCommand, but I will look at it. http://google-web-toolkit.googlecode.com/svn/javadoc/2.0/com/google/gwt/user/client/IncrementalCommand.html