[Zope] Namespace problem with folders starting with numbers

sean.upton@uniontrib.com sean.upton@uniontrib.com
Fri, 11 May 2001 08:49:56 -0700


use:

<dtml-var expr="folder1._['2000']...

etc to reference an object with an id; should work, though I think this only
works in an expr within dtml-var and not name=...

Sean

-----Original Message-----
From: Ausum [mailto:augusto@artlover.com]
Sent: Friday, May 11, 2001 8:19 AM
To: zope@zope.org
Subject: [Zope] Namespace problem with folders starting with numbers


I need to retrieve a property nested at a document placed within folders
whose
names start with numbers. Like this:

<dtml-var "folder1.2000.12345.dtmldoc.this_property">

This sintax is invalid because there are object names that are starting with
numbers, within the Python expression. 

Is there a workaround? (I've tried the usual ones, unsuccessfully).



Ausum

_______________________________________________
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 )