Acquisition question (run for the hills!)
OK, I've read the acquisition HOW-TOs, and either I'm dense or I didn't find the answer to my question. I have a setup like this: /main header localTitle /sub localTitle index_html header includes dtml-var localTitle. index_html includes dtml-var header. Why doesn't header pull /sub/localTitle instead of /localTitle when it is included by /sub/index_html? :-) Thanks in advance, -scott
Scott Anderson wrote:
OK, I've read the acquisition HOW-TOs, and either I'm dense or I didn't find the answer to my question.
I have a setup like this:
/main header localTitle /sub localTitle index_html
header includes dtml-var localTitle. index_html includes dtml-var header.
Why doesn't header pull /sub/localTitle instead of /localTitle when it is included by /sub/index_html? :-)
Thanks in advance,
-scott
I suspect header is a DTML Document. If so, try making it a DTML method. -- | Casey Duncan | Kaivo, Inc. | cduncan@kaivo.com `------------------>
Scott Anderson writes:
OK, I've read the acquisition HOW-TOs, and either I'm dense or I didn't find the answer to my question.
I have a setup like this:
/main header localTitle /sub localTitle index_html
header includes dtml-var localTitle. index_html includes dtml-var header.
Why doesn't header pull /sub/localTitle instead of /localTitle when it is included by /sub/index_html? :-) "Containment before Context".
See URL:http://www.dieter.handshake.de/pyprojects/zope/book/chap3.html or the Zope developper guide or "Acquisition Madness", for details. Dieter
participants (3)
-
Casey Duncan -
Dieter Maurer -
Scott Anderson