[ZDP] BackTalk to Document The Zope Book (2.6 Edition)/Using Basic
Zope Objects
webmaster at zope.org
webmaster at zope.org
Wed Dec 31 17:57:45 EST 2003
A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZopeBook/2_6Edition/BasicObject.stx#3-67
---------------
Alert readers will note that the 'id' provided by the output is
*not* the 'id' of the External Method ('SalesEM'). It is
instead the 'id' of the "containing" folder, which is named
'Sales'! This is a demonstration of the fact that External
Methods (as well as Script (Python) objects are mostly meant to
be used in the "context" of another object, which is often a
Folder. This is why they are named
"methods":ObjectOrientation.stx. Typically, you don't often
want to access information about the External Method or Script
itself; all the "interesting" information is usually kept in
other objects (like Folders). An External Method or Script
"knows about" its context and can display information about the
context without much fuss.
% Anonymous User - Nov. 21, 2003 5:02 am:
Note that whenever you change the External Method file in your shell, you need to press the 'Save Changes'
button on the Properties Tab of the External Method. If you do not, Zope does not seem aware of your changes
(caching?).
% Anonymous User - Dec. 31, 2003 5:57 pm:
All I needed to do was to press my browser's "Refresh" button after saving the changes to the External Method
file in my shell.
More information about the ZDP
mailing list