RE: [ZOPE] newbie question: getting title_or_id from calling docu ment
# On Tue, Oct 16, 2001 at 08:18:21AM -0400, Jim Washington wrote: # > DTML Method titles are accessible as <dtml-var document_title>. # # This is one of the funniest things I have ever saw :-))) # Method's title # is called document_title! LOL! # # Oleg. # Hi LOLeg, In line with this is the fact that manage_addDocument gives me a DTML Method, just like manage_addDTMLMethod. To get me a DTML Document I needed to use manage_addDTMLDocument. Roger There is only one thing in the world worse than writing Python code, and that is not writing Python code.
On Tue, Oct 16, 2001 at 03:15:48PM +0200, Roger Erens wrote:
# On Tue, Oct 16, 2001 at 08:18:21AM -0400, Jim Washington wrote: # > DTML Method titles are accessible as <dtml-var document_title>. # # This is one of the funniest things I have ever saw :-))) # Method's title # is called document_title! LOL! # # Oleg. #
Hi LOLeg,
In line with this is the fact that manage_addDocument gives me a DTML Method, just like manage_addDTMLMethod. To get me a DTML Document I needed to use manage_addDTMLDocument.
This is because manage_addDocument is deprecated. It is rudiment of ancient API. Oleg. -- Oleg Broytmann http://www.zope.org/Members/phd/ phd@phd.pp.ru Programmers don't die, they just GOSUB without RETURN.
participants (2)
-
Oleg Broytmann -
Roger Erens