[Lift] Re: How can one bind attribute values in a snippet?

2009-11-19 Thread Alex Black
Thanks Jeppe, that looks like what I need. I'm having trouble following your example though, what are res, filteredResult, lc, etc? My code looks like this right now: def render( xhtml: NodeSeq ): NodeSeq { items.flatMap( f = bind(item, xhtml, name - item.name ) } so

[Lift] Re: How can one bind attribute values in a snippet?

2009-11-19 Thread Alex Black
I got it working, thanks again Jeppe. On Nov 19, 5:46 pm, Jeppe Nejsum Madsen je...@ingolfs.dk wrote: Alex Black a...@alexblack.ca writes: For example, if my html template looks like this: lift:surround with=default at=content            h2foobar/h2                 lift:MySnippet.render