Re: [Zope] Acquisition: DTML Methods vs Documents

2001-01-09 Thread Oleg Broytmann
Hello! Many thanks to all who replied! Sorry for late answer - twas XMas holidays in Russia (Russian Orthodox church celebrates XMas Jan 7). On Fri, 5 Jan 2001, Rik Hoekstra wrote: If I call http://machine:port/top/middle/AFolder/ADocument (in terms of this HOWTO), and ADocument calls

Re: [Zope] Acquisition: DTML Methods vs Documents

2001-01-06 Thread Tim Cook
Oleg Broytmann wrote: There are many Documents on my site, not only index_html. Should I make them all Methods? Why after this I need Documents at all? The ONLY time I use a Document is, as a container for properties. For example a patient is seen by a doctor. The date/time, vital signs

Re: [Zope] Acquisition: DTML Methods vs Documents

2001-01-05 Thread Stephane Bortzmeyer
On Friday 5 January 2001, at 12 h 26, the keyboard of Oleg Broytmann [EMAIL PROTECTED] wrote: Can anyone here explain clearly what is the difference between DTML Methods and DTML Documents regarding acquisition? Not me but this HOWTO:

Re: [Zope] Acquisition: DTML Methods vs Documents

2001-01-05 Thread Oleg Broytmann
On Fri, 5 Jan 2001, Stephane Bortzmeyer wrote: http://www.zope.org/Members/michel/HowTos/DTMLMethodsandDocsHowTo saved my life. Thanks. I'be read it yesterday. It does not help much because it does not answer my question: If I call http://machine:port/top/middle/AFolder/ADocument (in

Re: [Zope] Acquisition: DTML Methods vs Documents

2001-01-05 Thread Oleg Broytmann
On Fri, 5 Jan 2001, Stephane Bortzmeyer wrote: http://phd.russ.ru/pcgi/TEST/2/index_html WOW! It show foobar again from root, not from /TEST/2! standard_html_header acquires using static path provided by index_html! You started acquisition from index_html. Since it has no foobar, it

Re: [Zope] Acquisition: DTML Methods vs Documents

2001-01-05 Thread Stephane Bortzmeyer
On Friday 5 January 2001, at 12 h 26, the keyboard of Oleg Broytmann [EMAIL PROTECTED] wrote: When I call standard_html_header directly through the web, it acquires foobar using dynamic acquisition path: Actually, if I understand it myself :-) it acquires foobar because a method has no

Re: [Zope] Acquisition: DTML Methods vs Documents

2001-01-05 Thread Stephane Bortzmeyer
On Friday 5 January 2001, at 17 h 58, the keyboard of Oleg Broytmann [EMAIL PROTECTED] wrote: There are many Documents on my site, not only index_html. Should I make them all Methods? Why after this I need Documents at all? Because not all documents are acquired (from an above folder).

Re: [Zope] Acquisition: DTML Methods vs Documents

2001-01-05 Thread Dario Lopez-Kästen
Hello! I think hade a similar problem. It seems that you can only use methods for acquisition, not documents. I had an index_html DOC where I specified the structure of my site. In index_html I used dtml-var some_doc that and in some_doc I once dtml-var other_doc. The idea was that in my

Re: [Zope] Acquisition: DTML Methods vs Documents

2001-01-05 Thread Rik Hoekstra
On Fri, 5 Jan 2001, Stephane Bortzmeyer wrote: http://www.zope.org/Members/michel/HowTos/DTMLMethodsandDocsHowTo saved my life. Thanks. I'be read it yesterday. It does not help much because it does not answer my question: If I call http://machine:port/top/middle/AFolder/ADocument

Re: [Zope] Acquisition: DTML Methods vs Documents

2001-01-05 Thread Dieter Maurer
Oleg Broytmann writes: Can anyone here explain clearly what is the difference between DTML Methods and DTML Documents regarding acquisition? I think, I gave a good answer to a similar question in zope-dev recently -- searchable list archive. Dieter