Re: [Lift] Lift binding: is ChooseTemplate always necessary with nested tags?

2009-12-23 Thread Ross Mellgren
bind("alsoKnownAs", in, "list" -> { (ns: NodeSeq) => bind("list", ns, "label" -> ... ) }) -Ross On Dec 23, 2009, at 3:59 PM, Alex Black wrote: > I've got this xhtml in my template: > > > Also known as: > > > > > > > > with this snippet code: > > def alsoKnownAs( xhtml: Nod

[Lift] Lift binding: is ChooseTemplate always necessary with nested tags?

2009-12-23 Thread Alex Black
I've got this xhtml in my template: Also known as: with this snippet code: def alsoKnownAs( xhtml: NodeSeq, product: Product): NodeSeq = { def list( xhtml: NodeSeq, product: Product): NodeSeq = { product .alternateLabels .flatMap( l =>