Jonathan Cyr wrote:
You might want to use index_html rather than index.html in this example. The dot means other things in Python, and index.html is a carryover from filesystem webservers. My impression is that the acquisition mechanism doesn't like ids with a dot, in some circumstances.

Acquisition works fine irrespective of the object id.
And dotted or dashed names work fine in ZPT path:


If you use python, most objectmanagers support dictionary-like notation:


...and if you object doesn't support dictionary-like notation, you can use getattr:


And getattr performs Acquisition just fine...



Simplistix - Content Management, Zope & Python Consulting

Zope maillist  -
**   No cross posts or HTML encoding!  **
(Related lists - )

Reply via email to