title: Dropdown select list in CakePHP
body: <p>Does anybody know how to select the contents of one take from a different view in CakePHP?</p>
  
  <p>I have a take <code>itemgroups</code> that has 2 fields <code>ID</code> and <code>Description</code>. I need to make a down down list in the item add page but I can not find a good way to get all of the values from another table into an array to put into the page.</p>
  
  <p>Below I have also listed my models for each.</p>
  
  <pre><code>&lt;?php
  
  class Item extends AppModel
  {
      var $name = 'Item';
      var $belongsTo = 'Itemgroup';
  }
  
  ?&gt;
  </code></pre>
  
  <p><br/>
      
  
  <pre><code>class Itemgroup extends AppModel
  {
      var $name = 'Itemgroup';
      var $hasOne = array('Item');
      var $validate = array(
          'description' =&gt; array(
              'rule' =&gt; 'notEmpty'
          ),
          'description' =&gt; array(
              'rule' =&gt; 'notEmpty'
          )
      );
  }
  
  ?&gt;
  </code></pre>