that's DHTML...! Just say to your users that clicking on the refresh button means* "restart the application"*....
If they don't understand why you can serve them this little example (it worked in my case): *Imagine to have an FM radio tuned to your favourite station: now you can remove the plug from the electric grip, reinsert it and continue to listen your station. (That's a classic HTML webapplication) Now try to do this with your PC tuned on a live streaming mp3 radio station.... (That's an AJAX and DHTML) * That's means that PC and AJAX sucks? No, that's means that tecnologies are evolving... *NOTE:* if you like to make your life complicated, obiouvsly you can implement the browser history support for ajax applications, gwt offers to you some powerfull instruments for do that, check this link: http://developerlife.com/tutorials/?p=232 bye. Stefano. 2009/9/23 coolskulll <[email protected]> > > Try adding browser history support to your gwt application. > > On Sep 22, 10:44 am, kilaru <[email protected]> wrote: > > hi, > > > > i am facing with same problem. have you solved this? if so, please > > post the solution here. thanks in advance. > > > > Regards, > > kilaru > > > > On Aug 27, 11:07 am, pk <[email protected]> wrote: > > > > > 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 -~----------~----~----~----~------~----~------~--~---
