External Methods are acquired by sub-objects, in exactly same way as all other Zope objects. So, if you define an External Method in a Folder, it will be available in all sub-Folders. When a sub-Folder acquires an External Method, the method will be bound to the sub-Folder.
For example, suppose our FolderTitle method from the example is defined in a Folder called Birds . And, suppose we create a Folder inside Birds called Pigeons . When the FolderTitle method is accessed within the Pigeons Folder it will return the string "Pigeons."
Previous Chapter | Next Chapter | Up | Next Section | Contents