[Zope-CMF] CTR Predicate based on path
Sidnei da Silva
sidnei at awkly.org
Fri Nov 19 10:03:53 EST 2004
On Fri, Nov 19, 2004 at 04:00:50PM +0100, Vincenzo Di Somma wrote:
| Hi all,
| if I understand correctly, a CTR predicate can evaluate only parameters
| releated to the uploaded file and not to the context.
| Is that correct?
|
| In the code the parameters passed to a predicate are: name, typ and
| body.
| What should I do to make my predicate evaluate something on the
| container object, for example?
If you want policies based on path, you can just stick a new
content_type_registry on the folder where you want different behavior.
--
Sidnei da Silva <sidnei at awkly.org>
http://awkly.org - dreamcatching :: making your dreams come true
http://www.enfoldsystems.com
http://plone.org/about/team#dreamcatcher
A rolling disk gathers no MOS.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mail.zope.org/pipermail/zope-cmf/attachments/20041119/a376daf3/attachment.bin
More information about the Zope-CMF
mailing list