title: yii -> dropDownList -> CHtml::listData -> set selected value
body: <p>How can I set the selected value in the following statement:</p>
  
  <pre><code>echo $form-&gt;dropDownList(
      $model,
      'land_id',
      CHtml::listData(ListeLand::model()-&gt;findAll(), 'iso', 'landname'),
      array('class'=&gt;'span4 chosen','maxlength'=&gt;20)
  );
  </code></pre>
  
  <p>I want to set in the list: </p>
  
  <pre><code>iso = AT
  landname = Österreich
  </code></pre>
  
  <p>as selected value.</p>
  
  <p>EDITED -> The solution:</p>
  
  <pre><code>echo $form-&gt;dropDownList(
      $model,
      'land_id',
      CHtml::listData(ListeLand::model()-&gt;findAll(), 'iso', 'landname'),
      array(
                  'class'=&gt;'span4 chosen',
                  'maxlength'=&gt;20,
                  'options' =&gt; array('AT'=&gt;array('selected'=&gt;true)),
      )
  );
  </code></pre>