Thursday, August 22, 2013

Problem with AbstractCell in IE

Hey,

i've got a problem with an AbstractCell.

I created a class to get an image link. This class extends an abstract cell.

To display the link I created a SelfHTML template. This looks like this: 

 @Template ( ""
        +
        "<a href=\"{0}\" style=\"white-space: nowrap;\" target=\"{3}\" >" +
        "<table><tr> <td valign=\"middle\">" +
        "<img style=\"float: left;\" src=\"{2}\"  "
        + "width=\"16\" height=\"16\" ></td><td valign=\"middle\">" +
        "{1}</td></tr></table></a>")
    SafeHtml hyperImageText( SafeUri link, String text, SafeUri image, String target );

In every Browser it's working fine but in InternetExplorer you can only click on the Image an not on the text. Thats a little bit anoing to our cutomers. 

The rendred output from InternetExplorer is: 

 <DIV style="OUTLINE-STYLE: none" tabIndex=0 __eventBits="6144" __listener="null" __gwt_cell="cell-gwt-uid-235"><A style="WHITE-SPACE: nowrap" href="http://heise.de" target=_blank>
<TABLE>
<TBODY>
<TR>
<TD vAlign=center><IMG style="FLOAT: left" src="imagescam/url_16.png" width=16 height=16></TD>
<TD vAlign=center __eventBits="6144" __listener="null">heise.de</TD></TR></TBODY></TABLE></A></DIV>

Any idea how to fix this ? 

Thanks in advance ;)  

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment