title: zf2 Navigation isActive not working with uri
body: <p>I'm building menu using Navigation. In my config file, I'm using uri (I couldn't get route, controller, action to work correctly)</p>
  
  <pre><code>    'navigation' =&gt; array(
      'default' =&gt; array(
           array(
               'label'    =&gt; 'Home',
               // not sure why I can't use route, controller, action...
               // for now, i'm using uri
               'uri'      =&gt; '/',
           ),
           array(
              'label'     =&gt; 'About us',
              'uri'       =&gt; '/application/intro',
           ), ...
  </code></pre>
  
  <p>The application module's route is the default one, set up as such</p>
  
  <pre><code>        'application' =&gt; array(
              'type'    =&gt; 'Literal',
              'options' =&gt; array(
                  'route'    =&gt; '/application',
                  'defaults' =&gt; array(
                      '__NAMESPACE__' =&gt; 'Application\Controller',
                      'controller'    =&gt; 'Index',
                      'action'        =&gt; 'index',
                  ),
              ),
              'may_terminate' =&gt; true,
              'child_routes' =&gt; array(
                  'default' =&gt; array(
                      'type'    =&gt; 'Segment',
                      'options' =&gt; array(
                          'route'    =&gt; '/[:controller[/:action]]',
                          'constraints' =&gt; array(
                              'controller' =&gt; '[a-zA-Z][a-zA-Z0-9_-]*',
                              'action'     =&gt; '[a-zA-Z][a-zA-Z0-9_-]*',
                          ),
                          'defaults' =&gt; array(
                          ),
                      ),
                  ),
              ),
          ),
  </code></pre>
  
  <p>Now, isActive is not working in my view (a partial) when calling</p>
  
  <pre><code>&lt;?php foreach ($this-&gt;container as $page): ?&gt;
  
      &lt;li &lt;?php echo $page-&gt;isActive()? 'class="' . $activeClass . '"' : '' ?&gt;&gt;
      ...
  </code></pre>
  
  <p>When I tried to do this manually, I'm trying to compare with $this->url. I realized that $this->url only returns the path to route. Meaning, in my example, when I'm in /application/intro, $this->url will only return /application/ and "intro" controller is not returned.</p>
  
  <p>My question is, how do I can the url to return with controller, action, etc.? or what can I do to make sure that isActive can work correctly.</p>
  
  <p>Thanks in advance!</p>
  
  <p>Justin</p>