Beautiful !!!! I'm really glad you considered doing this Dave. Thank you so much!
Br's, Marius On Dec 6, 12:50 am, "David Pollak" <[EMAIL PROTECTED]> wrote: > Folks, > > I'm about to check in code that unifies TemplatePF and ViewDispatchPF with: > type ViewDispatchPF = PartialFunction[List[String], Either[() => > Can[NodeSeq], LiftView]] > > This is a partial function that takes the resource search path (e.g., > List(my_stuff, index)) and finds the appropriate NodeSeq. > > The PartialFunction can return Either a () => Can[NodeSeq] or a LiftView. > > This should unify template lookup across all of Lift's functions. If the > PartialFunction needs something in the current Req, it can use a guard. > > Thanks, > > David > > -- > Lift, the simply functional web frameworkhttp://liftweb.net > Collaborative Task Managementhttp://much4.us > 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 -~----------~----~----~----~------~----~------~--~---
