I created two types of Dexterity: lab_equipment.py, class_activity.py. The class_activity type contains the following relation to the lab_activity type:
class_activity.py:
class IClassActivity(form.Schema, IImageScaleTraversable):
[...]
dexteritytextindexer.searchable('apparatus')
apparatus = RelationList(
title=_(u"Apparatus"),
description=_(u"Choose equipment used in this activity"),
value_type=RelationChoice(
source=ObjPathSourceBinder(
object_provides=ILabEquipment.__identifier__,
navigation_tree_query= {'path': {'query':'/Plone/ug-demos/equipment'}},
),
),
)
[...]
Now I need to list the related members from the class_activity class in the lab_equipment page template.
Is there a way to unlink the RelationList from class_activity to lab_activity and then display this list in the page template?
jcuot source
share