I have the following widget code:
$this->widget('yiiwheels.widgets.redactor.WhRedactor', array( 'model' => $model, 'attribute' => 'Content', 'name' => 'Meeting[Content]', 'value' => 'Content', 'options' => array(), ));
and I would like to know what all the options are for this widget (html. As far as I can find, there are no docs that clearly list ALL the options available ? For example, I would like to increase the rows (height) of the widget. And I am sure that the way I had to define the ‘name’ attribute as Meeting[Content] is also not the proper way. Or?
I would be extremely grateful is someone could point me to detailed docs for the YiiWheels widgets - someone must be using this widget in a TbActiveForm, right?
Also, I have to wrap the widget in the following code so that it appears properly on the form, and I am wondering whether this is correct:
<?php //echo $form->textFieldControlGroup($model,'MeetingDate',array('span'=>5)); ?> <div class="control-group "> <label class="control-label" for="Meeting_MeetingDate">On</label> <div class="controls"> <?php $this->widget('yiiwheels.widgets.datepicker.WhDatePicker', array( 'model' => $model, 'attribute' => 'MeetingDate', 'pluginOptions' => array( 'format' => 'yyyy-mm-dd' ) ) ); ?> </div> </div>