You are not logged in Log in Join
You are here: Home » Members » Stefan's Home » CallableFolder

Log in
Name

Password

 
 

Folder icon CallableFolder

Note: Even though the file dates may suggest otherwise all work on this page dates back to the year 2001. Just thought I'd let you know.

Callable Folders are Folders that have their __call__() method overridden to invoke a contained index_html method.

You could also think of them as folderish DTML Documents just a tad more flexible because the index_html can be anything callable (e.g. a Python Script).

If called from the Web the ZPublisher will do the calling for you, even with standard Folders. The difference is that with Callable Folders you can do it from DTML as well! Like in <dtml-var mycallablefolder>.

Callable Folders make IMO very neat containers (somehow "objects-on-the-fly") that allow to organize a Zope site in new ways and at the same time make one's DTML a bit cleaner. Please see the online help for more explanations and examples.

Sheesh, why does it sometimes seem that simple things are so hard to explain? Try 'em you'll like 'em! ;-)

To install simply extract the tarball into your Products directory and restart Zope.

 Title   Type   Size   Modified   Status 
 0.3.0 Edit object Software Release   2004-04-25 published