I am having similar kinda problem. I am creating a Google Map Application that has a draggable marker with search option. I am using GWT and eclipse. My search button works fine in the hosted mode, but when I compile and run it off the browser, my search button does not work. My button seems to be firing other commands like pop ups.
thanks, sam On Aug 3, 3:52 pm, otismo <[email protected]> wrote: > It wasn't a syntax issue. It was a coding problem. I'm using various > client-side datastores (i.e. localstorage, userdata, whatwg, etc.). > The datastores behave differently on store and load and were > triggering different code paths. I've got it fixed. > > Thanks for your help! > > On Aug 3, 11:11 am, Jason Parekh <[email protected]> wrote: > > > > > Hey Peter, > > > Could you try changing your <script> tag to include the attribute: > > type="text/javascript": > > > <html> > > <head> > > <link rel="stylesheet" href="styles.css" type="text/css"> > > <script *type="text/javascript"* language='javascript' > > src='com.seekspeak.SeekSpeakWeb.nocache.js'></script> > > </head> > > <body> > > </body> > > </html> > > > If this works, give thanks to Rajeev for pointing this out :) > > > jason > > > On Mon, Aug 3, 2009 at 1:07 PM, otismo <[email protected]> wrote: > > > > Thanks for the response, Jason. Yup, I've tried clearing the cache in > > > both browsers -- no help. > > > > Looking at the source in both browsers shows my html host page code. > > > Looking at the DOM though shows that my UI widget never gets added to > > > the DOM for ie7 and safari. The DOM shows the iframe but no ui div > > > element. On the functioning browsers, ff3.5 and ie8, the DOM shows me > > > the iframe and the div for my ui element. So it looks like adding my > > > widget to the RootPanel doesn't work for ie7 and safari. > > > > My host page looks like this: > > > <html> > > > <head> > > > <link rel="stylesheet" href="styles.css" type="text/css"> > > > <script language='javascript' > > > src='com.seekspeak.SeekSpeakWeb.nocache.js'></script> > > > </head> > > > <body> > > > </body> > > > </html> > > > > and I add my widget like this: > > > RootPanel.get().add(ui); > > > > I tried adding a div to my host page and then adding my UI widget to > > > that div, but that didn't work either: > > > ... > > > <body> > > > <div id="ui"></div> > > > </body> > > > ... > > > and: > > > RootPanel.get("ui").add(ui); > > > > Any other ideas? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
