title: Zend Navigation - various navigation blocks
body: <p>I have a <code>navigation.xml</code> file:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;config&gt;
      &lt;nav&gt;
          &lt;programm_nav&gt;
              &lt;label&gt;&lt;/label&gt;
              &lt;uri&gt;#&lt;/uri&gt;
              &lt;pages&gt;
                  &lt;all&gt;
                      &lt;label&gt;test1&lt;/label&gt;
                      &lt;resource&gt;default:programme&lt;/resource&gt;
                      &lt;module&gt;default&lt;/module&gt;
                      &lt;controller&gt;programme&lt;/controller&gt;
                      &lt;action&gt;list&lt;/action&gt;
                      &lt;privilege&gt;index&lt;/privilege&gt;
                  &lt;/all&gt;                      
              &lt;/pages&gt;
          &lt;/programm_nav&gt;
          &lt;acc_nav&gt;
          &lt;label&gt;&lt;/label&gt;
              &lt;uri&gt;#&lt;/uri&gt;
              &lt;pages&gt;
                  &lt;ueb&gt;
                      &lt;label&gt;test2&lt;/label&gt;
                      &lt;resource&gt;default:account&lt;/resource&gt;
                      &lt;module&gt;default&lt;/module&gt;
                      &lt;controller&gt;account&lt;/controller&gt;
                      &lt;action&gt;index&lt;/action&gt;
                      &lt;privilege&gt;index&lt;/privilege&gt;
                  &lt;/ueb&gt;                      
              &lt;/pages&gt;
          &lt;/acc_nav&gt;
      &lt;/nav&gt;
  &lt;/config&gt;
  </code></pre>
  
  <p>This config file defines two navigation boxes, one programm_nav and the other acc_nav.</p>
  
  <p>In my bootstrap I do the following:</p>
  
  <pre><code>$navContainerConfig = new Zend_Config_Xml ( APPLICATION_PATH .
  '/configs/navigation.xml', 'nav');     
  
  $navContainer = new Zend_Navigation ( $navContainerConfig );
  
  $view-&gt;navigation ( $navContainer )-&gt;setAcl ( $this-&gt;_acl )
  -&gt;setRole ( Zend_Registry::get ( 'role' ) );
  </code></pre>
  
  <p>In my view I display the navigation:</p>
  
  <pre><code>$navSec = $this-&gt;navigation ()-&gt;findOneByLabel ( 'acc_nav' );
  echo $this-&gt;navigation ()-&gt;menu ()-&gt;renderMenu ( $navSec );
  </code></pre>
  
  <p>But no matter how I define <code>$navSec</code> I always displays <code>programm_nav</code> and never another box. <code>acc_nav</code> is never displayed.</p>
  
  <p>Any idea?</p>