[TYPO3-mvc] Fluid Mark Option as Seleced / Repository Error with Releation
Christian Schwan - Dimme GmbH
christian.schwan at dimme.ch
Sun Jun 6 05:18:22 CEST 2010
He guys,
does anyone figured out how to mark a option field selected?
<f:form.select property="flooring" options="{flooring}"
optionLabelField="title" />
And the other problem that I have is in my Repository
$query->like('flooring', '%'.$vars['flooring'].'%')
Domain Model
/**
* @var Tx_Productpresenter_Domain_Model_Flooring
*/
protected $flooring;
I get the following Error:
18
Tx_Extbase_Persistence_Mapper_DataMapper::fetchRelatedEager(Tx_Productpresen
ter_Domain_Model_Product, "flooring", "1")
19
Tx_Extbase_Persistence_Mapper_DataMapper::getPreparedQuery(Tx_Productpresent
er_Domain_Model_Product, "flooring", "1")
20
Tx_Extbase_Persistence_Mapper_DataMapper::getElementType("Tx_Productpresente
r_Domain_Model_Product", "flooring")
#1251315966: Could not determine the type of the contained objects.
There must be something wrong with my query
If I try
@var string
It will work, but then I cant fetch the other information from the model
Can somebody help me out?
Christian
Ausgehende eMail ist virenfrei.
Von AVG Free SB uberpruft - www.avg.de
Version: 9.0.829 / Virendatenbank: 271.1.1/2919 - Ausgabedatum: 06/05/10
08:25:00
More information about the TYPO3-project-typo3v4mvc
mailing list