Ah, that makes sense.  Yes your link is very helpful, thanks Jim. :)

Jason

On 11/30/2011 12:00 PM, Jim Gay wrote:
On Wed, Nov 30, 2011 at 2:58 PM, Jason Grimes <ja...@gina.alaska.edu <mailto:ja...@gina.alaska.edu>> wrote:

    Hi,

    I'm trying to add a title attribute to the links in a
    <r:navigation> tag.  I was thinking that using the page
    description would be perfect to populate the title attribute
    with.  So I came up with this:

    <ul>
    <r:navigation urls="feedback: /feedback | links: /links | faq:
    /faq | data: /data | formats: /formats | home: /">
    <r:normal><li><a href="<r:url />" title="<r:find
    url="<r:url/>"><r:meta:description
    tag="false"/></r:find>"><r:title /></a></li></r:normal>
    <r:here><li class="current"><a href="<r:url />" title="<r:find
    url="<r:url />"><r:meta:description tag="false"
    /></r:find>"><r:title /></a></li></r:here>
    <r:selected><li><a href="<r:url />" title="<r:find
    url="<r:url/>"><r:meta:description
    tag="false"/></r:find>"><r:title /></a></li></r:selected>
    <r:between> </r:between>
    </r:navigation>
    </ul>

    Unfortunately nothing is being returned from the find.  Is this a
    limitation with the find tag?  Is there another way of
    accomplishing this?  Thanks,

    Jason



The radius tags are only parsed once, so you can't use a radius tag as an attribute of another. I often build navigation without the navigation tag. For example: https://gist.github.com/295125 You could also leverage the <r:aggregate ...> tag to do what's done with the navigation urls.

Does that help?

-Jim


--
Write intention revealing code #=> http://www.clean-ruby.com

Jim Gay
Saturn Flyer LLC
571-403-0338


Reply via email to