[TYPO3-mvc] How can I fill fields for related object
Dmitry Vasiliev
dmitry at typo3.ru.net
Wed Jul 2 14:45:29 CEST 2014
Hi!
I have model "Company -> n:1 Order"
When I create new company, I write in controller
$newOrder =
$this->objectManager->create('TYPO3\\Catalog\\Domain\Model\\Order');
And order is created
In fluid how can I fill some fields for order, for new action. If I do
like this, fields are empty
<f:form.textfield property="order.company" />
<f:form.textfield property="order.street" />
<f:form.textfield property="order.zip" />
--
Regards, Dmitry Vasiliev
+7 950 001 85 15
dmitry at typo3.ru.net
http://typo3.ru.net/
More information about the TYPO3-project-typo3v4mvc
mailing list