[Zope] How to define input parameters to zpt ?
Siegmund Fuehringer
sifu at isohypse.org
Tue May 18 05:25:08 EDT 2004
hi!
On Tue, May 18, 2004 at 11:07:00AM +0200, fowlertrainer at anonym.hu wrote:
> Hello !
>
> I remember: anyone say to me that zpt has parameter dictionary.
>
> If I have zpt named zpt1, I can call it by py script:
>
> context.zpt1("1","a",anobj)
>
> But how I get it in zpt ?
>
> I forget this...
>
> I think, that is params, or globals like this:
>
> <p tal:replace="python:_globals[0]"/>
it's 'options', like:
<p tal:replace="options/whatever" />
cheers
- sifu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20040518/ac378207/attachment.bin
More information about the Zope
mailing list