Passing attributes to child radiant elements

If I have defined new radius tags in a custom behvaior and then
specify them on a page like this

<r:tag1 category=“test”>
<r:tag1:a />
<r:tag1:b />
</r:tag1>

What is the best way to give ‘tag1:a’ and ‘tag1:b’ the value of the
attribute category on the parent element, tag1 in the code so that I
can use the value “test” in the render of tag1:a and tag1:b?

On 14/08/2006, at 2:13 PM, jsmorris wrote:

can use the value “test” in the render of tag1:a and tag1:b?
Have you had a look at how the navigation tag works? I think it does
something similar to what you want…

Bodhi

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs