Hello, What you should do is to escape the URL using the Velocity escaping tool (http://velocity.apache.org/tools/devel/generic/EscapeTool.html) : #set($url = $escapetool.url('http://testforge.int-evry.fr/d2r-server/snorql/?query=%09%09SELECT+DISTINCT+...')) <a href="javascript:newPopup('$url');">Bugs reported</a> Raluca. On Thu, Aug 26, 2010 at 1:27 PM, Francis Abrante <[email protected]> wrote:
I am trying to receive a very long url (1000 characters) as a parameter for use it in a pop up window, but failĀ if I try with a shortest one work fine. Thanks in advance
<script type="text/javascript"> function newPopup(url) { popupWindow = window.open(url,'popUpWindow','height=700,width=800,left=10,top=10,resizable=yes,scrollbars=yes,tool bar=yes,menubar=no,location=no,directories=no,status=yes') } </script>
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users