Hi Ahmed, try Window.location.reload()
Stefan Bachert http::/gwtworld.de due to recent cases, I am sorry, I won't do free personal support. inquiries for professional GWT support are welcome. On 20 Jul., 06:13, Ahmed Shoeib <[email protected]> wrote: > i want to reload current page only without pressing any other button > > On Jul 20, 12:48 pm, Muhammad Saifullah <[email protected]> > wrote:> pls use Window.addWindowCloseHandler( > > new WindowCloseHandler(event) { > > event.setMessage("your message here"); > > } > > ); > > in your onModuleLoad() function. > > when F5 button is pressed then custom message will be displayed if you press > > OK button then reloads but if you press the cancel > > then no reload. > > OK and cancel is by default to the browser. > > hope this will help. > > > pls use eclipse and press ctrl+ space then addWindowCloseHandler will be > > shown and fix any class name if i mistook. > > thanks > > On Tue, Jul 20, 2010 at 6:30 PM, Ahmed Shoeib <[email protected] > > > > wrote: > > > Welcome all , > > > > i face a problem with pressing F5 button to load current page > > > > i use history manager to make next & back in my project > > > > now after pressing the f5 button it return to the first page in my > > > projects > > > > how to fix this problem > > > > ???? > > > > -- > > > 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]<google-web-toolkit%[email protected]> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/google-web-toolkit?hl=en. -- 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.
