[EMAIL PROTECTED] wrote:
I tried this:
<a tal:attributes="href string:${here/a_script}?doc=${x}">
but got this error:
Error Type: TypeError
Error Value: a_script() takes exactly 1 argument (0 given)

Yeah, as you discovered later, leaving bits of things people suggest off is stupid ;-)

So it doesn't look like the "string:${..." workaround worked :(

It's not a workaround. There's nothing to workaround.

And I don't think I need to URLquote.

Oh? And what happens when x contains non-url-safe characters like spaces, slashes, colons, etc?

cheers,

Chris

--
Simplistix - Content Management, Zope & Python Consulting
           - http://www.simplistix.co.uk
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to