Hi Thomas,

I started looking at doing this today, am kind of stuck though. It
seems that the elements which implement wrap() are all a bit
specialized - there seems to be a lot of code to support the wrap
methods. Have you tried doing this for a plain <div>, just wondering
if this is going to be possible before I start messing around with the
gwt framework stuff.

I thought more users would need a wrap() method for <div>, because for
those of us trying to merge gwt in with an existing website, it is
extremely useful,

Thanks



On Apr 25, 3:01 pm, Thomas Broyer <[email protected]> wrote:
> On Apr 25, 11:28 pm, markww <[email protected]> wrote:
>
> > That sounds just like what I need, but I am not find a wrap() method
> > on any UIObject derived class, am I missing it, is it part of some
> > static utility class or something? I'm using GWT 2.0, was this removed
> > or something?
>
> Have a look at TextBox.wrap(), Button.wrap(), FormPanel.wrap(), etc.
> and copy it in your own MyPanel widget; then you could just
> MyPanel.wrap(Document.get().getElementById("col1"))
>
> --
> 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 
> athttp://groups.google.com/group/google-web-toolkit?hl=en.

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