On 09/23/2011 10:51 AM, melody wrote:
>>>>
> Does this pb happen in dev/test mode ? Or in deploiement mode ?
> <<<
> In production mode.
> 
>>>>
> May be you can try to use a GWT link instead of hard coded HTML mailto
> link.
> <<<
> Can you kindly provide an example of what you mean by GWT link instead
> of HTML link. Keep in mind that I chose the HTML link in order to
> leave the execution/firing of the link to the browser instead of me
> explicitly firing it using GWT/Javascript which has the potential of
> being blocked by popup blockers.
> 
> Thanks again for your response.
> 

It looks like this is the intended behavior. When I load the following
via the file:// protocol, I can duplicate the effect. If I remove the
TARGET attribute, it does not change the url.

====
<head>
<title>mailto test</title>
</head>
<body>
<a target="_blank" href="mailto:jchim...@example.com";>click here</a>
</body>
====

You might try removing the HREF attribute, adding an onClick handler,
that either
1) calls window.open to the appropriate URL;
or
2) creates an IFRAME and sets its URL to the appropriate value in the
onClick handler;

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

Reply via email to