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?)
If I change to id=titleLabel above, then I get the label substituted
OK, but the URL is still not substituted...
thanks!
p.s.I put this up as a lighthouse ticket a while ago:
http://nitrogen.lighthouseapp.com/projects/21480/tickets/36-bind-doesnt-replace-terms-in-a-link-element
but it looks like the lighthouse keeper isn't at home any more...