[Zope] Namespace problem with folders starting with numbers
Fri, 11 May 2001 09:05:10 -0700
Ok. Sorry to jump to quickly on that one; I am partially wrong.
<dmtl-var expr="_['2000'].id"> will work; so will <dtml-in
expr="_['2000'].objectValues()"> (returns a sequence).
However, in the case of something like this:
Zope has some security/permissions issue with that (when I try to run a
method with code like this as a manager, I get a basic auth box?). I assume
that the workaround would have to be using dtml-with one namespace at a
That is, unless someone has a better way to do this.
From: Upton, Sean
Sent: Friday, May 11, 2001 8:50 AM
To: 'Ausum'; email@example.com
Subject: RE: [Zope] Namespace problem with folders starting with numbers
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=...
From: Ausum [mailto:firstname.lastname@example.org]
Sent: Friday, May 11, 2001 8:19 AM
Subject: [Zope] Namespace problem with folders starting with numbers
I need to retrieve a property nested at a document placed within folders
names start with numbers. Like this:
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).
Zope maillist - Zope@zope.org
** No cross posts or HTML encoding! **
(Related lists -