title: Cakephp enum list with pre-selected drop-down box
body: <p>I have this enum select list pre-selected with values then this is put into Form helper and select function like below:</p>
  
  <pre><code>$enumList = enum('Uusi hakija', 'Jatkohakemus', '40+', '60+','Työyhteisöhanke','Mieshanke','Urheiluseurahanke');
          $vars = explode('.', $enumList);
          echo $this-&gt;Form-&gt;select('Model.project_type', $vars);
  </code></pre>
  
  <p>My question is how can you set it so you define "selected" value with session value like below?</p>
  
  <pre><code>$saved = $this-&gt;Session-&gt;read('form'); 
  echo $this-&gt;Form-&gt;input('amount_accepted',array('value' =&gt; $saved['amount_accepted'] ));
  </code></pre>