A Traversable Mixin Class
A Traversable Mixin Class Make this a base class of your ZClass to make them What does it mean?Consider the following URL: http://www.zopesite.com/MyTraversableMethod/foo/bar In the usual scenario, zope would search for
objects called However, if So where you earlier used: /Issues?priority=high&status=open you can now use: /Issues/HighPriority/Open Using this mixin class, you can make any other class traversable. Works best with DTMLDocument and DTMLMethod. Usage Notes - Creating the ZClass
Usage Notes - Using the ZClass
By default both the parameters are zero thus no url components are consumed. Use the Traversal tab through the management interface to specify the number of parameters.
Why the mandatory and optional parameters?Consider a folder F with:
Say you access the url
|
|
Available Releases
Version | Maturity | Platform | Released |
---|---|---|---|
0.2.0 | Development | 2000-06-13 01:44:05 | |
TraversableMixin.tar.gz (5 K) | All |