GWT and setting "file://" on HREFs
Greetings,
I'm using GWT and trying to set an href to a file uri (to a network share) and insert it into a cell of a FlexTable and can't seem to make it work.
I have inspected the dynamic anchor in chrome (inspector) and the format is correct but nothing happens when I click on it.
I have 开发者_运维技巧tried setting through an Anchor, HTML object, calling cell.setHTML directly and also tried setting it outside the flex table but all to no avail.
Note that I can create a simple HTML file that looks like:
<html>
<head/>
<body>
<a target="_blank" href="file://///server/share/myfile.txt">My File</a>
</body>
</html>
and have it work correctly across Chrome, IE, firefox when I load it on the address bar.
Any thoughts? TIA
"For security purposes, Mozilla applications block links to local files (and directories) from remote files."1
精彩评论