[Zope] Passing parameters

Vangelis Mihalopoulos mihalop at VTrip.NET
Wed Jan 26 06:08:08 EST 2005


George Tesseris wrote:

> Is there a way to pass parameters to a dtml method from within another 
> dtml method?
> thx in advance! 


Yes,

1) you can use a python expression when calling, like:
calling DTML method (test1):
   <dtml-var expr="test2(param='a dtml method')">
called DTML method (test2):
    this is a <dtml-var param>

2)you can set a parameter in the REQUEST, which is global, but i 
wouldn't do it



More information about the Zope mailing list