selection questions
Hello all:
I'm just coming up to speed on GWT and its concepts, so please pardon
the low level of the question I have. I have two panels in my
application, one is a CellTree with a bunch of entity names, and the
other has a bunch of buttons I want to operate on the entities --
edit, save, new, etc.
I thought I could select an entity in one panel and then click the
appropriate button in the other panel, and get the selected entity
with the selection model's getSelected() method. But when I select an
entity in the first panel, and then click on the button in the second
panel, I lose the selection in the entity panel, and getSelected()
comes back empty.
What is the right way to do this, and how is the best way to structure
the classes that control the two panels so that the classes
controlling the entities and their data get across to the classes
controlling the button and its enclosing panel? Any hints gratefully
received.
Many thanks,
Tom
--
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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home