I think there's a wrap() method for most widgets. You just need to get the div as a divelement and then wrap() it.
On Apr 25, 2:14 pm, markww <[email protected]> wrote: > Hi, > > I have a page generated using jsp, it just creates a bunch of skeleton > elements to which I'd like to then attach my gwt code. Something like: > > <body> > <div> > <div id="col1"></div> > <div id="col2"></div> > <div id="col3"></div> > <div id="col4"></div> > </div> > </body> > > when my entry point starts up, I'd like to find my 4 divs and somehow > "convert" them to my own flowpanel instances, something like: > > public class MyPanel extends FlowPanel { > > } > > public void onModuleLoad() { > MyPanel panel = (MyPanel)RootPanel.get("col1"); > } > > something along those lines - what's the correct way of doing this > though? Every gwt app I've built to date is completely from scratch > and uses only GWT panels built internally. > > Thanks > > -- > 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.
