[TYPO3-mvc] Object relation - get children
Jan Kornblum
jan.kornblum at gmx.de
Sat Feb 2 12:40:16 CET 2013
Hi Henjo,
> You put the relation on your project object.
> This means you should delete the customer relation from your project model
> and add a relation field projects to your customer model.
Thanks a lot. Now it works.
Is see that now there is a inline-relation in customer-tca. also there
is a passthrough-field in project-tca.
Question:
Is it possible to to do it without inline-type? because i'm not able to
"move" a project to another customer in BE with this inline
construction. Also, you're not able to the assigned customer in a
project-record. How could this be handled better?
Both database tables now own a input-field for the related table on the
opposite side. in classical way i would just add a field "customer" to
project-table (as done before). but this is "the way extbase does it"
and i should not care and think about it, right?
Kind regards, Jan
More information about the TYPO3-project-typo3v4mvc
mailing list