[Zope] Creating a "list of strings" from DTML-Method?

Soren Roug soren@roug.org
Wed, 23 Feb 2000 17:33:47 +0100


This is great! It works!


Jim Washington wrote:
> 
> Hi, Soren
> 
> You might want put the following in a new dtml method and see if it does
> what you need:
> 
> <dtml-call "REQUEST.set('folderlist', objectIds('Folder'))">
> <dtml-return folderlist>
> 
> Or you might make the list like so:
> 
> <dtml-call "REQUEST.set('folderlist', ['folder1', 'folder2',
> 'folder3'])">
> <dtml-return folderlist>
> 
> IIRC, dtml-return is relatively new to zope, so if it does not work, you
> may need to upgrade.
> 
> Regards,


--
Best Regards
Soren Roug