Re: [Zope] Reversing acquisition?

2000-07-20 Thread Stephen Harrison
Luciano Ramalho wrote: [EMAIL PROTECTED] wrote: The effect I would like to achieve is: when user access http://myserver/, content of /text_object_1 and /text_object_2 will be shown while user access http://myserver/subfolder/, content of /subfolder/text_object_1 and

Re: [Zope] Reversing acquisition?

2000-07-20 Thread Luciano Ramalho
Thank you very much for the correction. However, after checking your Wiki references, I must say I still don´t understand the difference between context and containment (these are words that I naively used as synonyms in my message). In http://www.zope.org/Wikis/zope-dev/AcquisitionUsage we

[Zope] Reversing acquisition?

2000-07-20 Thread Spicklemire, Jerry
Ramalho wrote: """ - Containment: Search the object, then its container, then the container's container, and so on. Ignore objects not in this chain. - Context: Search the objects in precisely the reverse of the order in which they were mentioned, so "A.B.C.D" is always searched in the order

Re: [Zope] Reversing acquisition?

2000-07-20 Thread Shane Hathaway
Luciano Ramalho wrote: Thank you very much for the correction. However, after checking your Wiki references, I must say I still don´t understand the difference between context and containment (these are words that I naively used as synonyms in my message). In

Re: [Zope] Reversing acquisition?

2000-07-19 Thread Luciano Ramalho
[EMAIL PROTECTED] wrote: The effect I would like to achieve is: when user access http://myserver/, content of /text_object_1 and /text_object_2 will be shown while user access http://myserver/subfolder/, content of /subfolder/text_object_1 and /subfolder/text_object_2 The point is that

[Zope] Reversing acquisition?

2000-06-22 Thread zoper
Hi All, Here's the situation I have a tree such that /index_html /text_object_1 /text_object_2 /subfolder/text_object_1 /subfolder/text_object_2 where content is: /index_html dtml-var standard_html_header table trtddtml-var text_object_1 fmt=structured-text/td/tr

Re: [Zope] Reversing acquisition?

2000-06-22 Thread Patrick Lewis
Try changing /index_html as follows: dtml-var standard_html_header table trtddtml-var "PARENTS[0].text_object_1" fmt=structured-text /td/tr trtddtml-var "PARENTS[0].text_object_2" fmt=structured-text /td/tr /table dtml-var standard_html_footer Basically force Zope to look in the current

Re: [Zope] Reversing acquisition?

2000-06-22 Thread Jeff K. Hoffman
On Thu, 22 Jun 2000, Patrick Lewis wrote: Try changing /index_html as follows: dtml-var standard_html_header table trtddtml-var "PARENTS[0].text_object_1" fmt=structured-text /td/tr trtddtml-var "PARENTS[0].text_object_2" fmt=structured-text /td/tr /table dtml-var