[TYPO3-dev] Dynamic Backend Editing

Oliver Hader oh at inpublica.de
Thu Sep 7 15:07:46 CEST 2006


Chi Hoang wrote:
> Oliver Hader schrieb:
>> In Dynamic Backend Editing these items are also stored on a page, but
>> they only belong to one parent item (the "embedding item"), so the
>> backend user doesn't see all the others in his select-box (or whatever).
> 
> This is commonly know as a "weak entity". How did you solved this
> problem, because Typo3 didn't offer this database relation out-of-the
> box. From the $TCA I can't see any relation to the parent item.

You're right, that might be a problem in architecture. By now it's just
a one-way-relation from table_a to table_b ("table_a embeds table_b").
But there is no way yet, to see, where table_b is embedded (except
walking to the whole $TCA and looking for it).

Maybe for the future development it's possible to use something like an
observer or a mapping class, to know that "table_b is embedded from
table_a" and to inform the parent when a child changes in any way.


olly




More information about the TYPO3-dev mailing list