Hi Devs,

I'm adding a custom CMF Action for my subtype enhanced archetype.

In the actions.xml there is a property "available_expr" in which I can specify a guard condition for when to show this action.

This expression will render inside a page template, so it can either be a tales expression, or a python expression restricted to the page template environment.

So, the question is, how can I test that an object is subtyped, or that an object provides a certain interface from within a page template?

Thanks!
J-C

_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to