[Zope] dtml-in equivalent in pythonscripts ?

Oleg Broytmann Oleg Broytmann <phd@phd.pp.ru>
Mon, 18 Feb 2002 19:10:09 +0300


On Mon, Feb 18, 2002 at 05:00:37PM +0100, Joachim Schmitz wrote:
> what is the equivalent for:
> 
> <dtml-in "objectValues('Folder')" sort=sequence skip_unauthorized>
> in a python script ?
> 
> do I have to program the "sort", and "skip_unauthorized" explicitly ?

   I am afraid you do. You can use extended sort support (by importing it
from DTML), but you have to skip_unauthorized yourself.

Oleg.
-- 
     Oleg Broytmann            http://phd.pp.ru/            phd@phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.