[Zope] <dtml-with> problem

Tom Schwaller Tom.Schwaller@linux-magazin.de
Wed, 08 Sep 1999 19:42:42 +0200


hi all,

I have a folder hierarchy like:

issue/1994/01
           02
           03
...
issue/1999/11

where I use numbers for the folder names, which seems natural
here. When I want to acces this objects with 

<dtml-with "issue.1998.01">

I get the following error:

--------------------------------------------------------------
Expression (Python) Syntax error: 

invalid syntax

, for tag <dtml-with "issue.1998.01">, on line 9 of ...
--------------------------------------------------------------

of course something like

<dtml-with "issue.test">

works without a problem. I would change the names if I could, 
but 1999, 2000 are difficult to rename :-)

Any hint? (after a short holiday whitouht Zope I seem to
have forgotten everything.. :-))

<dtml-with "_.getitem('issue.1998.01')">
<dtml-with "_['issue.1998.01']">

do not work either, but I will need something
in that direction, because "issue.1998.01",.. are just 
names which will come from an input form.

hope this is a fool's question, otherwise I'm in big trouble...

-- 

Tom 
http://www.linux-magazin.de/