[ZPT] Z SQL Method arguments

Klinger Wolfgang wolfgang@wazum.com
Tue, 11 Dec 2001 19:10:56 +0100


hiya!

something like this?
<tal:block xxx="python:zsql_method(arg1='argument1',
arg2='argument2')"></tal:block>

bye
Wolfgang

-----Ursprüngliche Nachricht-----
Von: zpt-admin@zope.org [mailto:zpt-admin@zope.org]Im Auftrag von
Nicolás Echániz
Gesendet: Dienstag, 11. Dezember 2001 18:51
An: zpt@zope.org
Betreff: [ZPT] Z SQL Method arguments


Hi everybody

I need to pass an argument to a Z SQL Method from within a template.
With DTML I would normaly set the variable in REQUEST.
But with ZPT I just can't figure a way to get the variable to be used by
the Method.
I tried defining a global variable and tried defining as local variable
but it doesn't work. Any hints ?

Thanks

Nico.



_______________________________________________
ZPT mailing list
ZPT@zope.org
http://lists.zope.org/mailman/listinfo/zpt