Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Google Chrome and gwt

 
christine clarin
Ranch Hand
Posts: 106
  • Mark post as helpful
  • send pies
  • 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
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • 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.
 
Federico Kereki
author
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • 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!
 
Maneesh Godbole
Saloon Keeper
Posts: 11027
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Notice the white space in ? Maybe thats the reason.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • 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
  • 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
Saloon Keeper
Posts: 11027
12
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I feel like an ass to get your problem confused. This will work:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic