On Mon, Aug 17, 2009 at 12:44 PM, Naftoli Gugenheim <[email protected]>wrote:
> What do people think of the following? I wrote some implicits that allow
> you to call bind as a method on a NodeSeq, allowing you to chain several
> bind statements.For example:
> def edit(xhtml: NodeSeq) =
> xhtml.bind("prefix1",
> "label1" -> value1,
> "label2" -> value2
> ).bind("prefix2",
> "label1" -> value3,
> "label2" -> value4
> )
>
> This already exists in net.liftweb.mapper.view.Util.
> My question is whether I should put it into BindHelpers so it would always
> be available.
>
I would prefer that it's not automatically imported when you import
Helpers._
> Thanks.
>
>
> >
>
--
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Git some: http://github.com/dpp
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---