[Zope] Acquisitive

Spicklemire, Jerry Jerry.Spicklemire@IFLYATA.COM
Fri, 20 Oct 2000 16:20:54 -0500


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?

Thanks,
Jerry S.