Re: [Zope] How can i call a pyhton module's function from with in Page Temmplates?

2005-10-18 Thread Chris Withers
Thomas G. Apostolou wrote: dtml-in expr=GetData(sysDSN=sysDSN, usr=usr, mypass=mypass, sTable=sTable, sFields=sFields) dtml-if sequence-even tr class=even dtml-else tr class=odd /dtml-if dtml-in sequence-item tddtml-var sequence-item /td

Re: [Zope] How can i call a pyhton module's function from with in Page Temmplates?

2005-10-18 Thread Thomas G. Apostolou
Αρχικό μήνυμα από Chris Withers [EMAIL PROTECTED]: Thomas G. Apostolou wrote: dtml-in expr=GetData(sysDSN=sysDSN, usr=usr, mypass=mypass, sTable=sTable, sFields=sFields) dtml-if sequence-even tr class=even dtml-else tr class=odd /dtml-if

Re: [Zope] How can i call a pyhton module's function from with in Page Temmplates?

2005-10-17 Thread Thomas G. Apostolou
Αρχικό μήνυμα από Chris Withers [EMAIL PROTECTED]: Thomas Apostolou wrote: i saw that from within a DTML Method one is able to call a fuction of a python module in the file system. I don't think so... Well, you are right. I do not directly call the modules's function from the file

Re: [Zope] How can i call a pyhton module's function from with in Page Temmplates?

2005-10-17 Thread Tino Wildenhain
Thomas G. Apostolou schrieb: Αρχικό μήνυμα από Chris Withers [EMAIL PROTECTED]: Thomas Apostolou wrote: i saw that from within a DTML Method one is able to call a fuction of a python module in the file system. I don't think so... Well, you are right. I do not directly call the

Re: [Zope] How can i call a pyhton module's function from with in Page Temmplates?

2005-10-14 Thread Chris Withers
Thomas Apostolou wrote: i saw that from within a DTML Method one is able to call a fuction of a python module in the file system. I don't think so... Now i want to get the funtion's results from within a Page Template. Which function? Give us an example of what you've tried... Is the

Re: [Zope] How can i call a pyhton module's function from with in Page Temmplates?

2005-10-12 Thread Peter Bengtsson
If you already know DTML but need to learn ZPTs I suggest you have a look at this old document http://www.zope.org/Members/peterbe/DTML2ZPT 2005/10/12, Thomas Apostolou [EMAIL PROTECTED]: Hello, i saw that from within a DTML Method one is able to call a fuction of a python module in the file