Hi Oleg, how would I do that ? I tried: from DocumentTemplate import DT_In but got Error Type: ImportError Error Value: import of "DT_In" from "DocumentTemplate" is unauthorized I remember I saw somewhere an description howto make special functions accesseble to pythonscripts but I don't find it. --On Montag, Februar 18, 2002 19:10:09 +0300 Oleg Broytmann <phd@phd.pp.ru> wrote:
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.
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
Mit freundlichen Grüßen Joachim Schmitz -------------------------------------------------------------------- AixtraWare Ingenieurbüro für Internetanwendungen Hüsgenstr. 33a, D-52457 Aldenhoven Telefon: +49-2464-8851, FAX: +49-2464-905163 -------------------------------------------------------------------- Key fingerprint = DA10 CC82 62F8 1DBB 39A1 1EDC 725B 3317 A8D7 C3A6 Keyserver: http://germany.keyserver.net/en/