| Friday 01 December 2006 3:07:07 am 
                                                                
                                                                 I have a class with an ezselection-type attribute (lets say attribute "fruit" with values "apple", "orange","ananas","banana") which may be multi-selected to assemble the ingredients of a fruit salad. Using the  
{attribute_view_gui...}
 I can easily display the value "orange ananas" if I have checked the second and the third. In the  
$myobject.object.contentobject_attributes.content[0]
 , for example, I get the indexnumber "1" indicating the second entry (namely: "orange"). Thus I can collect the indices of the entries, the user has checked (in our example index 1 and 2). But: how can I access the string-content?  Or, in other words: How can I put the string "orange ananas" - or the single strings "orange" and "ananas" in to a template variable?  My Idea: in the contentclassattribute - object there is an attribute "content" with type "mixed" - perhaps it is somewhere behind this. But where? Thanks a lot from munich for help! |