Widget Factory Is Read Only?

Ever since I upgraded my PHP and the new strict coding standards apply etc I am getting that the widget factory is read only when trying to set it in main.php etc …




'widgetFactory' => array(

	'widgets' => array(

		'TbActiveForm' => array(

			'type' => 'horizontal',

		),

	),

),



Property "CWebApplication.widgetFactory" is read only.

If I am not mistaken I have used the Widget Factory the correct way have I not?

No news on this?

I think you need to do it through the components config:




    'components'=>array(

        'widgetFactory'=>array(

            

        ),

    ),



Ok thanks.