15 Aug
2007
15 Aug
'07
4:53 p.m.
tonylabarbara@aol.com 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