[TYPO3-mvc] <f:cObject> overwrite settings from lib?

ralph 77 at kubai.de
Wed Mar 24 10:08:33 CET 2010


hi list. i try to use the f:cobj viewhelper. is there any way i can 
overwrite settings from my lib? i want to overwrite 
lib.mylib.settings.id with something from the f:codbj data argument.
how can i do this ?

<f:cObject typoscriptObjectPath="lib.mylib" data="xy">hi</f:cObject>

lib.mylib= USER
lib.mylib{
   userFunc = tx_extbase_dispatcher->dispatch
   pluginName = Pi1
   extensionName = Mylib
   controller = Controller
   action = index
   settings {
     viewtype = teaser2-item
     id = 33
   }
}


More information about the TYPO3-project-typo3v4mvc mailing list