Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

bind doesn't replace terms in a link element?

#36

Assuming this context:

Data= [ [ "A", "Alink" ], ["B", "Blink" ]],
Map = [titleLabel@text, titleURL@text],

I can use a bind OK (substitution happens) using this snippet:

#bind { data=Data, map=Map, body=[ #label { id=titleLabel } ] }

but there's no substitution when I use this snippet:

#bind { data=Data, map=Map, body=[ #link { text=titleLabel, url = titleURL } ] }

I think substitutions in the body of a bind should also occur inside link elements. (If not, why not and how do I get the effect I'm looking for?)

thanks!

Reported by Mark · July 7th, 2009 @ 03:34 AM

State: resolved
Milestone: none
Assigned to: Rusty Klophaus Rusty Klophaus

Activity

  1. Mark
    Mark

    Resolved - problem with my example, and behavior of bind explained is here:

    http://groups.google.com/group/nitrogenweb/t/54aa6d899113f142

    October 18th, 2009 @ 10:21 PM

  2. Rusty Klophaus
    Rusty Klophaus
    • State changed from new to resolved
    • Assigned user set to Rusty Klophaus

    April 13th, 2010 @ 09:30 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.