tree where nodes are added programmatically by doing a getList().add()
on a ListDataProvider field. However, I found that using
the .add(Object) method would do strange things to the ordering, i.e.
the node *rendered* as "Item 1" would be passed as *value* "Item 2" to
getNodeInfo(), and thus it looked like Item 1 got Item 2's children.
The really strange thing is that if I do .add(0, Object), then
everything works fine.
The actual code can be found here:
http://bitbucket.org/slide_rule/umd-code-review/src/tip/src/edu/umd/review/gwt/view/impl/CommentTrayViewImpl.java
I just want to have list operations reflected in the tree, is this a
bug or have I just screwed this up somehow?
--
rwsims
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment