[TYPO3-mvc] problem with fed.contains viewhelper :: "Cannot cast object of type "Tx_Extbase_Persistence_ObjectStorage" to string."

Roland most.wanted at gmx.at
Thu Feb 23 11:58:57 CET 2012


edited to add: this is the not working snippet:

<fed:contains haystack="{partner.partnercategories}" needle="7">
     <fed:then>
         <dd>{partner.email}</dd>
     </fed:then>
</fed:contains>

{partner.partnercategories} instead of {partner.partnercategory}


More information about the TYPO3-project-typo3v4mvc mailing list