[ZPT] ampersand escape problem.

Dieter Maurer dieter at handshake.de
Thu Jan 6 14:03:36 EST 2005


Michael Rowley wrote at 2005-1-5 23:19 -0500:
>I have been researching this, but have found no solution.
>
>I am trying to pass a cmf Plone, Archetypes call to createObject  
>through a java window.open call, but th eproblem is, I want to specify  
>the script_id to createObject... which makes the call
>
>winref=window.open('http://here/createObject? 
>script_id=script&type_name=type')
>
>which, of course, zpt craps all over by changing it to  
>"script_id=script&type_name=type"

Put your JavaScript in a file and access it with the "src" attribute.

-- 
Dieter


More information about the ZPT mailing list