|(Download-)Links in Table- and TreeViewer [message #1100629]
||Tue, 03 September 2013 11:12
| Tiburon T
Registered: October 2011
I tried to embed links in a TreeViewer, but encountered the following problem.
Embedding links works fine, as long as they do not include '&'. If any part of the html contains an ampersand('&') however, the Viewer can not display the item and an IllegalArgumentExceptino is thrown:
<a href="/testing?servicehandler=7d880b02docsDLTest5.pdf&cid=de8c4e9&filename=Test5.pdf" >Test5.pdf</a>
java.lang.IllegalArgumentException: Failed to parse markup text
Caused by: org.xml.sax.SAXParseException: The reference to entity "cid" must end with the ';' delimiter.
How can I turn this reference behavior off or escape my html correctly?
Thanks for any advice,
[Updated on: Tue, 03 September 2013 11:22]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01500 seconds