But this is not how you should do it. try to use the MVC pattern it is much
better and faster.
you just need to pass the data to your composite in a class in your data
model

try to read on MVC appproach.

regards,
ruds

On Mon, Jan 26, 2009 at 9:33 PM, rudolf michael <[email protected]> wrote:

> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to