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 ca

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 sig

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 ___

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/A

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 that and in some_doc I once . The idea was that in my subfolers I only needed to have the objec

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

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

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 t

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: http://www.zope.org/Members/michel/HowTos/DTMLMeth

[Zope] Acquisition: DTML Methods vs Documents

2001-01-05 Thread Oleg Broytmann
Hello! Can anyone here explain clearly what is the difference between DTML Methods and DTML Documents regarding acquisition? Well, in simple cases I think I understand it. When I call a Method through the web, it use dynamic (based on current URL) acquisition path. A Document uses static (