[TYPO3-dev] Adding child-objects in an extbase edit-view
Xavier Perseguers
xavier at typo3.org
Mon May 27 13:59:39 CEST 2013
Hi,
> quick question: How can I add an ADDITIONAL child to a parent object only
> via FE / <f:form> mechanism ?
What about doing that simply in your controller? In your "update"
method, you get the parent object and the (new) child object and you add
it by code:
$parentObject->addChild($newChild)
and persist your $parentObject as usual.
Kind regards
--
Xavier Perseguers
Release Manager TYPO3 4.6
TYPO3 .... inspiring people to share!
Get involved: http://typo3.org
More information about the TYPO3-dev
mailing list