[TYPO3-mvc] storagePid makes trouble in some cases
Jochen Rau
jochen.rau at typoplanet.de
Tue Mar 2 11:52:49 CET 2010
Hi.
I agree with you that the current solution to configure the storage pid
is not the best solution. I'd like to define a storagePid for every
Domain Model sparately by overriding a default storagePid.
Any suggestions about how the TS config should look like? I suggest to
have it in the config.tx_extbase namespace:
As default
plugin.tx_blogexample {
persistence {
storagePid = 42
}
}
For every Domain Object as needed
config.tx_extbase {
persistence {
classes {
Tx_MyExtension_Domain_Model_Foo {
storagePid = 12
mapping {
[if necessary]
}
}
}
}
}
Regards
Jochen
More information about the TYPO3-project-typo3v4mvc
mailing list