Assume following :

Folder1
  sql
  show_abc
  method_showdata
  Folder2
    show_abc

method_showdata has among it the following code :

<dtml-with sql>
  <dtml-in selectallcentres>
    <table><tr><td>
       <dtml-var show_abc>
    </td></tr></table>
  </dtml-in>
</dtml-with>

1) When you call this function from Folder1 : show_abc of folder1 is used

2) When you call this function from Folder2 : show_abc of folder1 is used

--> what you wouldn't expect?

However:

3) Removing the <dtml-with sql> tag (and moving selectallcentres to folder1),
Calling method_showdata in Folder2 : show_abc of folder2 is used. 

--> what you would expect

Am I overlooking something of the acquisition here? Why does it uses in the
second case (2) not show_abc?

Thanks in advance,

Tom.

_______________________________________________
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 )

Reply via email to