R:navigation url attributes settable by r:find?

Hi,

I thought to use the r:navigation tag for a menu, but I would prefer
to pass the urls to use dynamically, ie with something like the result
of <r:find url=“/menu_items/”>, using the title as the label. Is this
planned or even possible? Is there a specific reason why the list has
to be passed manually?

Currently I have a menu without any indication of where you are
currently (hence my interest in r:navigation):

      <ul class="bottom">
        <r:children:each>
          <li><r:link><r:title /></r:link></li>
        </r:children:each>
      </ul>

Makes me wonder if I could do something like (illustration code

      <ul class="bottom">
        <r:children:each>
          <li <r:if_url

url=r:url>class=“active”</r:if_url>><r:link><r:title /></r:link>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
</r:children:each>

ie using the current child’s url (r:url) in the r:if_url test.

Thanks in advance for your help

Raph


Web database: http://www.myowndb.com
Free Software Developers Meeting: http://www.fosdem.org