I guess I'm not quite clear on what exactly you're trying to do. When you say "what i want to do is grab the layout the user chose to use with that page and automatically use that (the value will is stored in the database)", do you mean the "with" part of surround? Do you mean the whole template that gets pulled? For the sake of clarity, could you give a *very* concrete example?
Derek PS : you're not the only slow one this morning! ;) On Fri, Dec 5, 2008 at 8:35 AM, Tim Perrett <[EMAIL PROTECTED]> wrote: > > > I'd suggest creating a ViewDispatchPF and adding it in using > > LiftRules.appendViewDispatch > > > > type ViewDispatchPF = PartialFunction[List[String], LiftView] > > > > So, it's going to look a lot like your existing code. > > Excuse my ignorance, but what's the difference between TemplatePF and > ViewDispatchPF? There is no documentation on what ViewDispatch is > actually for - my understanding of "views" within lift, were > dynamically generated stuff like XML RSS feeds or such. Is this not > the case? > > Im confused as to what this has to do with my use case? > > Cheers > > Tim > > PS: sorry if this appears like im being very slow! > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
