I am talking about this extension: http://www.eha.ee/labs/yiiplay/index.php/en/site/extension?view=inputmap
and here is the git link: https://github.com/erikuus/Yii-Playground
Notice that this is an input widget which REQUIRES the CActiveForm object BEFORE rendering.
On the other hand when you set the configuration of the form builder the CActiveForm model is not yet instanciated! So how to pass it as parameter? you don’t and when you have $form->render() you get an exception thrown!
My current workaround: Create a class that extends CForm. Overload render() method and between renderBegin() and renderBody() set to the configuration of the element to pass it the CActiveForm object as it requires.
I think it is a dummy workaround and will have many problems in cases of multiple nested forms etc.
Could you please share a more robust solution?