Just to add further, it works fine in IE8 but not in IE7, so after implementing the solution, it only reloads the application if after that action I redirect it to another page e.g.
<a href="#myAccount">My Account</a> on action if I redirect it to say another page e.g. History.newItem("login"); view changes to login without any reload and then automatically it changes token back to my Account and reloads the application at this stage. Any suggestions? Thanks. On Nov 18, 5:50 pm, pac <parvez.chau...@gmail.com> wrote: > String links causing application to reload. > e.g. > "<a href=\"#" + word + "\">" + word + "</a>"; > > Looks like it is issue 2152 > > http://code.google.com/p/google-web-toolkit/issues/detail?id=2152 > > I tried solution mentioned in the issue i.e. cleanAnchors() by pabs87 > > But it reloads the application and error in console is > > com.google.gwt.core.client.JavaScriptException: (Error): Unspecified > error. > number: -2147467259 > description: Unspecified error. > at > com.google.gwt.dev.shell.BrowserChannelServer.invokeJavascript(BrowserChannelServer.java: > 237) > at > com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java: > 126) > at > com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java: > 561) > at > com.google.gwt.dev.shell.ModuleSpace.invokeNativeObject(ModuleSpace.java: > 269) > at > com.google.gwt.dev.shell.JavaScriptHost.invokeNativeObject(JavaScriptHost.java: > 91) > at com.google.gwt.core.client.impl.Impl.apply(Impl.java) > at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:214) > at sun.reflect.GeneratedMethodAccessor46.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) > at java.lang.reflect.Method.invoke(Unknown Source) > at > com.google.gwt.dev.shell.MethodAdaptor.invoke(MethodAdaptor.java:103) > at > com.google.gwt.dev.shell.MethodDispatch.invoke(MethodDispatch.java:71) > at > com.google.gwt.dev.shell.OophmSessionHandler.invoke(OophmSessionHandler.java: > 157) > at > com.google.gwt.dev.shell.BrowserChannelServer.reactToMessages(BrowserChannelServer.java: > 281) > at > com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java: > 531) > at > com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java: > 352) > at java.lang.Thread.run(Unknown Source) > > May be I am not using solution correctly. > > Is there way to solve this? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.