[Zope] Zope page templates and query strings

Stuart Robinson randolph.s.robinson@btinternet.com
16 Sep 2002 23:34:18 +0000


On Mon, 2002-09-16 at 22:23, Tim Hicks wrote:

> <a href="#" tal:attributes="href python:'delete?isbn?=%s' % 
> list.isbn">delete</a>
> 
> Untested, and may not be quite right...
> 
> tim
> 

<a href="#" tal:attributes="href python:'delete?isbn=%s' % 
list.isbn">delete</a>

Thanks Tim: that did the trick... I just dropped that final '?' to make
it work. Must go and read the chapter on python scripting in zope...
putting a python format string in tal attributes just never occurred to
me!

Thanks again :-)
Stu