• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Google Chrome and gwt

 
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

May i know why some of my gwt codes work well for IE but does not work in Chrome? is there any particular widget that I should know wherein I need to add some special/additional line of code in my gwt program to make it work. right now, I'm looking at some of the possible culprits in my code, looking at:



Whenever i call this in google chrome, my code doesn't work anymore. But of course it may come somewhere else. How can i trace this error through maybe chrome itself?

Thanks!

Regards,

Chris
 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I can't tell you what's wrong with it, but I would suggest to use the Anchor or Hyperlink widget instead.
 
author
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!

I'd also suggest going with GWT's own widgets (instead of directly creating a link in HTML).

As a debugging suggestion, I'd add a Window.alert(...) call in the handler; it might be that the click event isn't handled correctly when it doesn't pertain to a GWT widget.

Good luck!
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator


Notice the white space in ? Maybe thats the reason.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Maneesh Godbole wrote:


Notice the white space in ? Maybe thats the reason.



I think it's just JForum stripping the href part This happens if HTML is not disabled before posting.
 
christine clarin
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hello,

Thank you for all your posts, I have tried using GWT widget, hyperlink but it still behaves the same way. also the href tag is already correct (no white space), but still behaves the same in Chrome. I have isolated that this is the only widget in my application that is not working because my trace says that this is the only place where the code is hanging. I really have to find a way on how to make this hyperlink work for chrome too

Regards,

Chris
 
Maneesh Godbole
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I feel like an ass to get your problem confused. This will work:
 
reply
    Bookmark Topic Watch Topic
  • New Topic