[Zope] Binding Variables
Gustavo Vieira Goncalves Coelho Rios
gustavo@ifour.com.br
Tue, 24 Jul 2001 13:36:32 -0300
May some one give me a light about binding Variables in Zope?
Inside a python script, when should i use context.xxx or container.xxx ?
On the zope book, page 136 there is:
Context
The Context binding defaults to the name context. This variable refers to the object that the script is called on.
Ok! So if i call a python script inside a DTML Method, the context is the DTML method, if i call the script directly by its URL the context would be the directory, right?
Sorry, if it sounds to basic, but since i am a beginner i am really confused.
Thanks a lot for your time and cooperation.
--
A billion here, a couple of billion there -- first thing you know it
adds up to be real money.
-- Senator Everett McKinley Dirksen