[ZPT] ampersand escape problem.
Florent Guillaume
fg at nuxeo.com
Thu Jan 6 13:06:32 EST 2005
Michael Rowley <os2mac at earthlink.net> wrote:
> 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"
Please show us your code. Generally & is the proper way to put a &
in an URL inside HTML code.
> I found a previous bug report of this, where it is supposed to be fixed
> when passed as the first charachter in an attributes tag... but, how to
> I fix it above? Or can I... (easily)
What bug report was that ?
Florent
--
Florent Guillaume, Nuxeo (Paris, France) CTO, Director of R&D
+33 1 40 33 71 59 http://nuxeo.com fg at nuxeo.com
More information about the ZPT
mailing list