Dear group members,
I use a CellList to display an overview of all persons. I've used the
CellList showcase (CellList
showcase<http://gwt.google.com/samples/Showcase/Showcase.html?locale=en#!CwCellList>)
as orientation, but I did not use UIBinder.
Instead of display all information after selecting an item, as in the
showcase, I want to open a popup window.
This works fine, since I solved it with a SelectionChangeEventHandler a
popup appears. But when the popup closes (due to autoClose), I want to
de-select the selected Item.
Now let the code speak for itself:
Popup CloseHandler:
myPopup.addCloseHandler(new CloseHandler<PopupPanel>() {
@Override
public void onClose(CloseEvent<PopupPanel> event) {
selectionModel.setSelected(selectedItem, false);
}
});
When I click on the item the popup appears, if I click anywhere else the
popup disappears and the item is de-selected. But now I cannot re-select
the item and the application seems to be frozen.
I read about the problem with the SelectionChangeEvent loop, but does the
closeHandler affect this loop?
Just ask if you have questions or need more information about my code.
I'm thankful for every help I can get.
Best R.
HenN
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-web-toolkit/-/WbaiQ6sYLUUJ.
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.