Does it have some method to call after the html download is completed, when the new GPRS and GWTP will be called by the new Master?

I need to do some tuning on a css div. But I cannot do this using the onBind () or onReveal () method, because html does not load when this two methods are called.

So, I was wondering how you can automatically call a method when modifying my html (When the caller is called html, you need to change as new widgets will be added).

This is the method I should call:

private void hidePopup(){
  $(".olLayerGooglePoweredBy, .olLayerGoogleV3, .gmnoprint").
    css(CSS.VISIBILITY.with
      (com.google.gwt.dom.client.Style.Visibility.HIDDEN));
}
+5
source share
2 answers

I'm not sure I fully understand your question, but it seems to me that you are looking for a way to find out when the widget is added to the DOM.

, , onLoad() , : http://google-web-toolkit.googlecode.com/svn/javadoc/2.5/com/google/gwt/user/client/ui/Widget.html#onLoad%28%29

+2

EntryPoint onModuleLoad() - - , . GWT JS-, JS, - . , onModuleLoad .

+1

All Articles