then on the attach method of this widget, you can use the dom
you just need to override the onAttach() method of your composite.
public void onAttach(){
super.onAttach();
//then your DOM code goes in here
}On Mon, Jan 26, 2009 at 9:29 PM, SoMa <[email protected]> wrote: > > rudolf michael wrote: > > > Here you need to make sure that your widget are attached/added to the > > RootPanel. > > RootPanel.get().add(myWidget); > > once this is executed then you can use DOM.getElementById(); > > And what do I do if I have I complett composite class with panel, > labels, etc. instead of a simple widget? > Can I attach a complett composite component to DOM tree? > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
