Basically when the second time you click the list box, the onCellClicked of tablelistener is also getting executed, which re- initializes the listbox. So may be you should first check if the listbox is already initialized and then only proceed for the RPC call to get the listbox items n re-construct the listbox.
-Litty Preeth On Dec 3, 8:14 am, Suri <[EMAIL PROTECTED]> wrote: > Hey all, > - I've got a ListBox added to a cell in a FlexTable. > - The FlexTable has a TableListener, and when the cell contain the > ListBox is clicked, an RPC call is made that returns a collection of > data used to populate the ListBox. > - The ListBox has a ChangeListener, so that when the value is updated > another ListBox in an adjacent cell is populated. > > The problem here is that after populating the first ListBox, when I > select a value from it, the value immediately resets to the first > value in the box. Any ideas what might be going on? > > Thanks > Suri --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
