[TYPO3-ect] lib/div: Problems with using controller as sub-controller
Elmar Hinz
elmar07 at googlemail.com
Tue Oct 9 17:34:00 CEST 2007
Hi,
> $userSearchController =
> $this->makeInstance('tx_mklvcommunity_controllers_userSearch');
Have a look at the source of makeInstance() here. It's not optimized to
create subcontrollers. I suspect that the subcontroller doesn't get a
configuration handed and can't build an own configurations object. I am not
sure.
line 104: elseif($this->controller->configurations->get($keyOrValue))
Fatal error: Call to a member function get() on a non-object in
/var/www/localhost/svn/subida/typo3conf/ext/lib/class.tx_lib_processorBase.php
on line 104
I see two options as a solution:
a) Make list and form two different plugins
or
b) Have a look at the resultbrowser inclusion as a processor and
subcontroller, to find out how that can work.
Regards
Elmar
More information about the TYPO3-team-extension-coordination
mailing list