When I am clicking on the browser refresh button, my gt-ext
application is always redirecting to the homepage. Is there any way to
control it? My sample code below.
public void onModuleLoad(){
Button b1 = new Button("Click Me");
b1.addListener(new ButtonListenerAdapter(){
@Override
public void onClick(Button button, EventObject e) {
Panel panel = new Panel("My Panel");
panel.setSize(800, 600);
new Viewport(panel);
}
});
Panel p = new Panel();
p.add(b1);
RootPanel.get().add(p);
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"GWT-Ext Developer Forum" 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/gwt-ext?hl=en
-~----------~----~----~----~------~----~------~--~---