Hi Zope Fans,

I ran into an odd quirk today, and I'm hoping someone has
an insight to share. There is a simple text string stored 
as a DTML Method, with ID = "set_table_0", e.g.:

        'border="0" cellpadding="0" cellspacing="0"'

When set_table_0 is in the Zope root folder, it isn't 
discovered through normal acquisition, but no error occurs.

        <table &dtml-set_table_0;>

creates a table with defaults, e.g. border is visible.

However, when set_table_0 is moved to a subfolder of the Zope 
root folder, with the name "table_settings", and the reference 
is made like so:

        <table %dtml-table_settings[set_table_0];>

the DTML Method is found successfully, and the table border 
isn't displayed.

The question is, why is the folder "table_settings" found in 
the Zope Root Folder, but not the method? 

Does Acquisition give higher preference to folders (container), 
objects than a DTML Method?

Jerry S.

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

Reply via email to