bind doesn't replace terms in a link element?
Reported by Mark | July 7th, 2009 @ 03:34 AM
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!
Comments and changes to this ticket
-
Mark October 18th, 2009 @ 10:21 PM
Resolved - problem with my example, and behavior of bind explained is here:
http://groups.google.com/group/nitrogenweb/t/54aa6d899113f142
-
Rusty Klophaus April 13th, 2010 @ 09:30 PM
- State changed from new to resolved
- Assigned user set to Rusty Klophaus
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.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Nitrogen Web Framework for Erlang