[Zope-DB] ZPT and ZSQL Method calling

Charlie Clark charlie at egenix.com
Thu Jun 24 05:15:06 EDT 2004


On 2004-06-21 at 12:53:36 [+0200], Ian Steel <ian at bilstone.co.uk> wrote:
> <div tal:define='xxx
> nocall:here/get_offered_detail(o.id=here/feature_title_id)'>
> Art: <span tal:replace="xxx/artist_name">tosh</span>
> </div>

This doesn't work. If you want to pass parameters to a Zope object from ZPT 
you need to use a Python statement
<div tal:define="results python: 
get_offered_detail(o.id=here/feature_title_id)">
</div>

Charlie
-- 
Charlie Clark
eGenix.com

Professional Python Services directly from the Source
 >>> Python/Zope Consulting and Support ...        http://www.egenix.com/
 >>> mxODBC.Zope.Database.Adapter ...             http://zope.egenix.com/
 >>> mxODBC, mxDateTime, mxTextTools ...        http://python.egenix.com/
________________________________________________________________________

::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::


More information about the Zope-DB mailing list