Forums / Developer / [solved] Object relations & dropdown list
Tristan Rivoallan
Monday 08 August 2005 5:51:14 am
Hi everybody,
I want to set a 1:1 relation between datatype A and datatype B. For this purpose the "object relation" attribute type looked perfect, but i'm having issues.
I need to use the "Dropdown list" selection method, but I don't understand how to determine with what data is filled the list.
I expected to have a class selector like the one present in the "object relations" attribute type.
anybody ?
thx
Paul Borgermans
Monday 08 August 2005 6:29:08 am
Hi
there is no class filtering. You can select a node in which the children will be the drop-down list elements
hth
-paul
eZ Publish, eZ Find, Solr expert consulting and training http://twitter.com/paulborgermans
Monday 08 August 2005 6:38:27 am
Thanks a lot for your answer :)
Xavier Dutoit
Monday 08 August 2005 9:09:26 am
Have a look at the enhanced object relation.
It allows to choose from all the objects from the same parent or having the same class. You can choose to display them as a dropdown list (or a radio button).
http://ez.no/community/contribs/datatypes/enhanced_objectrelation
http://www.sydesy.com