On Tue, Jan 19, 2010 at 2:36 AM, ced <docpom...@googlemail.com> wrote:
> Do you perhaps have an example function at hand? > LiftRules.snippets.append { case "Foo" => xml => bind("foo", xml, "bar" -> "baz") } > > > On 19 Jan., 06:12, David Pollak <feeder.of.the.be...@gmail.com> wrote: > > On Sun, Jan 17, 2010 at 12:24 PM, ced <docpom...@googlemail.com> wrote: > > > Hi all, > > > is there a way to hook into the creation of snippets? I'd like to gain > > > control over their creation. > > > I tried to find something in LiftRules but couldn't find anything that > > > might be suitable for this purpose. > > > > LiftRules.snippets > > LiftRules.snippetDispatch > > > > No need for DI. You add PartialFunctions and Lift takes care of the > rest. > > > > > > > > > > > > > But maybe I missed something. Any > > > hints? > > > > > Cheers, > > > Chris > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "Lift" group. > > > To post to this group, send email to lift...@googlegroups.com. > > > To unsubscribe from this group, send email to > > > liftweb+unsubscr...@googlegroups.com<liftweb%2bunsubscr...@googlegroups.com> > <liftweb%2bunsubscr...@googlegroups.com<liftweb%252bunsubscr...@googlegroups.com>> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/liftweb?hl=en. > > > > -- > > Lift, the simply functional web frameworkhttp://liftweb.net > > Beginning Scalahttp://www.apress.com/book/view/1430219890 > > Follow me:http://twitter.com/dpp > > Surf the harmonics > > -- > You received this message because you are subscribed to the Google Groups > "Lift" group. > To post to this group, send email to lift...@googlegroups.com. > To unsubscribe from this group, send email to > liftweb+unsubscr...@googlegroups.com<liftweb%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/liftweb?hl=en. > > > > -- Lift, the simply functional web framework http://liftweb.net Beginning Scala http://www.apress.com/book/view/1430219890 Follow me: http://twitter.com/dpp Surf the harmonics--
You received this message because you are subscribed to the Google Groups "Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/liftweb?hl=en.