Re: [Zope] Acquisitive

2000-10-21 Thread Steve Spicklemire


Hi Jerry,

I'm guessing the the problem is that

&dtml-xxx;  does an implicit "html_quote" format
on whatever expression you provide.. so 



 should produce:



Which the browser doesn't grok 

try:

>

-steve

> "JS" == Spicklemire, Jerry <[EMAIL PROTECTED]> writes:

JS> Hi Zope Fans,

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

JS> 'border="0" cellpadding="0" cellspacing="0"'

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

JS> 

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

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

JS> 

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

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

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

JS> Thanks, Jerry S.



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



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




[Zope] Acquisitive

2000-10-20 Thread Spicklemire, Jerry

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.



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:



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.



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