[Zope] Tuples and DTML
hans
hans@beehive.de
Wed, 03 Apr 2002 13:21:12 +0100
Antonio Beamud Montero wrote:
> Hello all:
> I have a method that returns me a tuple (a,b). How I can access this
> elements from DTML?
> I have used dtml-with but it doesn't work
<dtml-let theTuple="your_method_that_returns_the_tuple(w parameters)">
<dtml-var "theTuple[0]">
or
<dtml-call "REQUEST.set('theTuple', your_method_that_returns_the_tuple(w
parameters) )">
<dtml-var "theTuple[0]">
cheers hans
-------------------------------------------------------------
Who's got only a hammer sees the world as a nail
hans augustin (software developer) hans@beehive.de
beehive elektronische medien GmbH http://www.beehive.de
phone: +49 30 847-82 0 fax: +49 30 847-82 299