title: CJuiDatePicker widget from Yii issue
body: <p>I am trying to integrate the DatePicker to a generated CRUD form on edit
  When I put the name as an array (like the textField generates) it won't popup the calendar
  If I use a simple name (non array) it works... If I quit completly the name it doesn't work</p>
  
  <p>I'm using Yii 1.8</p>
  
  <p>here's my code </p>
  
  <pre><code>    $this-&gt;widget('zii.widgets.jui.CJuiDatePicker', array(
      // 'name'=&gt;'birthdate',
       'name'=&gt;"MainVendorsInvoices[issued_date]", // the name of the field
       'value'=&gt;$model-&gt;issued_date,  // pre-fill the value
       // additional javascript options for the date picker plugin
       'options'=&gt;array(
              'dateFormat'=&gt;'yy-mm-dd',
              'defaultDate'=&gt;$model-&gt;issued_date,
              'buttonImage'=&gt;Yii::app()-&gt;baseUrl.'/images/icons.date.png',
              'buttomImageOnly'=&gt;true,
              'buttonText'=&gt;'Select',
              'showAnim'=&gt;'fold',
              'showOn'=&gt;'button',
              'showButtonPanel'=&gt;false,
              'yearRange'=&gt;'1900',
       'debug'=&gt;true,
  
      ),
       'htmlOptions'=&gt;array(
       'style'=&gt;'height:20px;'
       ),
       ));
  </code></pre>