[Product-Developers] where is IRelatedItems in Dexterity 1.0.1?

Héctor Velarde hector.velarde at gmail.com
Tue Aug 2 17:55:33 UTC 2011


solved, David!

I created a test to verify this was working:

   >>> fti.behaviors
   []

   >>> browser.open('http://nohost/plone/++add++dinosaur')
   >>> 'Related Items' in browser.contents
   False

We can declare that it supports the "related items" behavior defined in
plone.app.relationfield (normally this would be done via Generic Setup):

   >>> fti.behaviors = ('plone.app.relationfield.behavior.IRelatedItems',)

   >>> browser.open('http://nohost/plone/++add++dinosaur')
   >>> 'Related Items' in browser.contents
   True

after that, I erased my content type from the Dexterity configlet, 
remove the package and reinstalled it.

it is working now... thanks!

Héctor Velarde

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4024 bytes
Desc: Firma criptogr??fica S/MIME
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20110802/350b2450/attachment.p7s>


More information about the Product-Developers mailing list