--On 18. September 2006 06:43:46 -0700 Ferhat Ayaz <[EMAIL PROTECTED]> wrote:

Hi,

a quick and newbie question:

How can I call a Script (Python) within a page
template. I'm using the 'define' tag:

<tal:contain
 define="no_matter_var
python:context.mycall(myParam)"/>

Is there a more serious way to do this?


That's the only way when you have to pass parameters to the method.
Otherwise call it through context/mycall.

-aj

Attachment: pgpDoJ01dhawV.pgp
Description: PGP signature

_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to