On May 27, 8:49 pm, Rizen <[email protected]> wrote: > Hello ! > > For my project, I'm using the MVP pattern and inside my view I need to > create a table from the DOM tree. For this, I just use the functions > DOM.createTable(), DOM.createTBody()... no difficulty for the moment. > But the view in the MVP pattern extends the Composite class, so I need > to init the main Widget with initWidget whereas my table is an Element > object. > > I don't know how can I implement my table into the view, using the DOM > tree. Do I need to use an other container like a panel or something > like that ?
It looks like your view should just extend Widget and call setElement() (almost-equivalent to Composite's initWidget()). -- 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.
