#36 ✓resolved
Mark

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

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.

New-ticket Create new ticket

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

People watching this ticket

Tags

Pages