[TYPO3-mvc] Editing properties of referenced objects
Michael Knoll
mimi at kaktusteam.de
Tue Aug 14 10:20:14 CEST 2012
Hi there,
I have a domain object
class articleOnline {
protected article;
// ... getter setter for article
}
and a referenced domain object
class article {
protected head;
// ... getter setter for head
}
Now I want to create a form for editing articleOnline
<f:form object="{articleOnline}">
<f:form.textbox property="article.head" />
</f:form>
When the form is shown, everything works fine - the head is displayed.
If I submit the form into an update action, a new referenced article
object is created every time and the value in the referenced object is
not overwritten.
Am I doing anythin wrong?
Thanks for your help
Greez
Mimi
More information about the TYPO3-project-typo3v4mvc
mailing list