On Aug 11, 12:34 am, Jim Douglas <jdou...@basis.com> wrote:
> Have you considered using this version of TreeItem, which takes a
> Widget?
>
> http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/g...)
> http://google-web-toolkit.googlecode.com/svn/javadoc/2.3/com/google/g...)

 okay.  right.  i didn't notice the 2nd link was to TreeItem.setWidget
(groups.google.com hid the text.... *sigh*).

 that calls tree.adopt.  i just went through the code, down to
Tree.java.  Tree.adopt calls setWidget (the base version).  setWidget
then calls onAttach.

 soo... actually... yeah, that might do the trick.  it's... klunky (as
in, it's non-standard behaviour) and thus is going to catch users
out.  i.e. if you _don't_ call that setWidget function, you're
stuffed.

 let me investigate further ok?

 l.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to