Documentation improvement suggestion on CForm->activeFormWidget/getActiveFormWidget

It doesn’t seems obvious to me that activeFormWidget is only available after render() is called, I only found it out after several trials and errors. I would suggest to add a statement that says it will only return the current ActiveForm widget after the render function is being executed.

I think I have same question, how to use activeFormWidget in CForm? for example, add a zii.widgets.jui.CjuiDatePicker in a CForm like in activeForm?

At least, is there any sample code for that?

CForm should be powerful class, but no much sample code for that.