--On 3. Mai 2006 12:17:36 +0200 Martin Koekenberg <[EMAIL PROTECTED]> wrote:

I can create a dtml-in filte with the following code:

return [doc for doc in context.objectValues('DTML Document')  if

Using "return" in DTML does not make sense. Writing such code in DTML
is bad-style. Use Pythonscript for this code and call the script from
DTML (btw. better user ZPT).

How can I do the same with a date or time ?

What does that mean?


ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376
E-Publishing, Python, Zope & Plone development, Consulting

Attachment: pgpZMOmKPCgL4.pgp
Description: PGP signature

Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to