This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes GWT and the fly likes Google Chrome and gwt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » GWT
Bookmark "Google Chrome and gwt" Watch "Google Chrome and gwt" New topic
Author

Google Chrome and gwt

christine clarin
Ranch Hand

Joined: Feb 05, 2005
Posts: 106
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

Joined: Nov 24, 2005
Posts: 14687
    
  16

I can't tell you what's wrong with it, but I would suggest to use the Anchor or Hyperlink widget instead.


[My Blog]
All roads lead to JavaRanch
Federico Kereki
author
Ranch Hand

Joined: Aug 27, 2010
Posts: 31
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!

Great fan of Open Source, Linux, and web development with GWT; all of these come together for my ESSENTIAL GWT book!
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10175
    
    8


Notice the white space in ? Maybe thats the reason.


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

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

Joined: Feb 05, 2005
Posts: 106
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

Joined: Jul 26, 2007
Posts: 10175
    
    8

I feel like an ass to get your problem confused. This will work:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Google Chrome and gwt
 
Similar Threads
DWR or GWT?
How do i delete a cookie whose path I do not know ?
Label style not working in IE 8.0
JasperReports with GWT
What's the market value for GWT?