[TYPO3-mvc] ColumnMap: relations to tables with key field other then the UID (f.e. static_countries)

Peter Niederlag typo3-list at niekom.de
Thu Jul 29 11:25:29 CEST 2010


Hello,

Am 08.07.2010 00:31, schrieb Franz Koch:
> Hey there,
>
> anybody already managed to map static_countries onto a model property,
> where the property value is not the UID of the static_country item but
> f.e. the cn_iso_3 code?

well there are numerous ways to do this (inline,select,MM). Some of the 
setups work, some not.

I am still trying to solve the simple 
'select,foreign_field=whatever,mayitems=1' use case.

I already submitted a pacth some time ago, which I am currently 
reviewing as code base has changed w whole lot:
http://forge.typo3.org/issues/6933

I am currently digging into it again as this would make my development a 
whole easier as currently I need whole pile of glue code to manually 
add/fix all relations in the controller.

[...]

Greets,
Peter
-- 
Peter Niederlag
http://www.niekom.de * TYPO3 & EDV Dienstleistungen *


More information about the TYPO3-project-typo3v4mvc mailing list