Yii Framework Forum: Documentation improvement suggestion on CForm->activeFormWidget/getActiveFormWidget - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Documentation improvement suggestion on CForm->activeFormWidget/getActiveFormWidget Rate Topic: -----

#1 User is offline   sumwai 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 85
  • Joined: 16-March 09

Posted 01 November 2010 - 08:27 PM

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.
tipstank.com - where I share my coding stuff
0

#2 User is offline   Johnny Gan 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 197
  • Joined: 30-May 13

Posted 21 June 2013 - 04:30 PM

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.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users