55     form.widget('media', RelatedItemsFieldWidget)$
 56     media = RelationChoice($
 57         title=_(u"label_podcast_item_media"),$
 58         description=_(u"help_podcast_item_media"),$
 59        
source=ObjPathSourceBinder(object_provides=IMediaItem.__identifier__),$
 60         required=False,$

seems to solve the problem. However the widget seems to ignore the source of
the field
since it show all possible portal type items and not only objects with
interface IMediaItem.

-aj



--
View this message in context: 
http://plone.293351.n2.nabble.com/Attaching-plone-app-widgets-to-a-custom-Dexterity-schema-tp7570305p7570306.html
Sent from the Product Developers mailing list archive at Nabble.com.
_______________________________________________
Product-Developers mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/plone-product-developers

Reply via email to