Author: [email protected]
Date: Mon Mar 30 11:56:20 2009
New Revision: 5101
Modified:
wiki/IssueReportSample.wiki
Log:
Edited wiki page through web user interface.
Modified: wiki/IssueReportSample.wiki
==============================================================================
--- wiki/IssueReportSample.wiki (original)
+++ wiki/IssueReportSample.wiki Mon Mar 30 11:56:20 2009
@@ -1,7 +1,7 @@
#summary An example of a well reported issue on the GWT Issue Tracker.
Issue Report Summary:
-CloseHandler.onClose() doesn't fire when added to PopupPanel
+CloseHandler.onClose() doesn't fire when added to !PopupPanel
Found in GWT Release (e.g. 1.5.3, 1.6 RC):
GWT 1.6.2
@@ -27,6 +27,7 @@
Here is the PopupPanel that I'm trying to add the KeyUpHandler to:
+{{{
public class NewsPopup extends PopupPanel {
private List<Article> articles = new ArrayList<Article>(16);
private Article lastArticle = new Article();
@@ -58,11 +59,13 @@
// Set last article to the last selected article
}
}
+}}}
The Article widget is a simple class that wraps a Label indicating the
article title.
Here is the CloseHandler I'm trying to add to the news popup in the entry
point onModuleLoad() method:
+{{{
final NewsPopup newsPopup = new NewsPopup();
newsPopup.addCloseHandler(new CloseHandler<PopupPanel>() {
@Override
@@ -70,6 +73,7 @@
newsPopup.rememberLastArticle();
}
});
+}}}
Workaround if you have one:
--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---