Hi Melody,

In my opinion you shouldn't use target attribute with an email link. Target
attribute tells the browser how it should manage the link (e.g in the same
window, in the parent window, in a new window). It's appropriate for Web
browsing, not for email.

When the browser meet a email link mailto, it just asks the system to open
your client mail software as you said.

I agree with you, it's strange that you are redirect to about:blank page. I
can't reproduce this incident in a simple exemple. But my Google Chrome
version is old.

Does this pb happen in dev/test mode ? Or in deploiement mode ?
May be you can try to use a GWT link instead of hard coded HTML mailto link.

I hope it helps.

Regards

Karim Duran

2011/9/1 melody <[email protected]>

> I am trying to implement mailto: links in my application. When I use
> the mailto: link with the target attribute as shown below, the browser
> opens the email program fine but closes my GWT program by moving the
> browser to about:blank page.
>
> <a href='mailto:[email protected]'>Send Email</a>
>
> The same link works fine in Firefox without closing my GWT application/
> page.
>
>
> If I use the following link with the TARGET attribute, the email
> program is opened correctly but Google Chrome annoyingly opens a new
> tab with the URL about:blank
>
> <a href='mailto:[email protected]' target='_blank'>Send Email</a>
>
> Again the same links work fine in Firefox.
>
> Is there a way around this Google Chrome problem with email links?
>
> Thanks,
>
> Melody
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to