Previously Raphael Ritz wrote: > ickewa wrote: > >Hello, > > > >as already mentioned in the subject, I would like to know if its possible > >to > >check if an interface is provided by an object inside a tales expression. > > > >I would like to use this in genericsetup/actions.xml as a condition > >expression. > > Hm, not sure. > > Definitively not in the way you would do it from code because > you cannot import the interface in TALES. > > I know that in the old days Plone grew the interface tool > (portal_interface or so) to support exactly this for the > old Zope 2-style interface checks but I simply don't know > whether this has been extended to Zope 3 interfaces. >
There's a plone_interface or similarly named view that may be useful. It's defined in plone.app.layout. Wichert. -- Wichert Akkerman <[EMAIL PROTECTED]> It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
