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
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
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
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
[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
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
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
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