Re: Static hyperlinks not working in IE 7

2010-02-17 Thread Thomas Broyer


On Feb 17, 9:57 am, JeanV  wrote:
> Not sure why but if you dynamically create a hyperlink using the
> Hyperlink class everything works fine under IE but if you try to
> create a static hyperlink, IE will not trigger a ValueChangeEvent.
>
> In other words:
>
> Hyperlink h=new Hyperlink("test","test");
> and
> Test (placed directly in an HTML page)
>
> will behave completely differently under IE7 (one works, one doesn't
> even though the generated code is the same for both)

The generated code isn't the same. An Hyperlink (or InlineHyperlink)
actually has an onclick handler that calls History.newItem and cancels
the click event (so the link isn't actually followed).

> - This works fine
> under FF, Chrome and Safari.
>
> Any help would be greatly appreciated.

See http://code.google.com/p/google-web-toolkit/issues/detail?id=2152
(found with an "anchor hyperlink" search in issues)

-- 
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.



Static hyperlinks not working in IE 7

2010-02-17 Thread JeanV
Not sure why but if you dynamically create a hyperlink using the
Hyperlink class everything works fine under IE but if you try to
create a static hyperlink, IE will not trigger a ValueChangeEvent.

In other words:

Hyperlink h=new Hyperlink("test","test");
and
Test (placed directly in an HTML page)

will behave completely differently under IE7 (one works, one doesn't
even though the generated code is the same for both) - This works fine
under FF, Chrome and Safari.

Any help would be greatly appreciated.

Jean

-- 
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.