[Zope] Re: ZPT and URL's

Will Smith witisi at yahoo.com
Thu Jul 15 06:53:50 EDT 2004


Michael Fox wrote:
> Hi *,
> 
> How can I tack on a sting to my request/BASE1? eg. something like the
> following.
> 
> <a href=".." tal:attributes="href request/BASE1 +
> '/some_page_template'">link</a>
> 

<a href=".."
    tal:attributes="href string:${request/BASE1} 
/${here/some_page_template}">
   link
</a>

or

<a href=".."
    tal:attributes="href python:'' + request['BASE1'] + '/' + 
some_page_template">link</a>


Pretty sure those would work



More information about the Zope mailing list