I just found this email while researching all of the CRUD stuff in mapper.
One word: supercalifragilisticexpialidocious!

On Thu, Nov 20, 2008 at 7:23 PM, David Pollak <[EMAIL PROTECTED]
> wrote:

> Folks,
>
> I've been cleaning up code and adding features left and right.
>
> First, the breaking changes in sitemap.Loc:
>
>    - the "stuff" method has been renamed to "params"
>    - the Loc.LocStuff trait has been renamed to Loc.LocParam
>
> Now the goodies:
>
>    - Loc can carry around location specific snippets of code.  Lots of
>    ways to do this, but the easiest is to include Loc.Snippet(name, NodeSeq =>
>    NodeSeq) in the Loc's params.  This lets you do page specific snippets.
>    - Loc can carry around a default template (this makes templating much
>    easier for stuff like CRUD).  Include the Loc.Template(() => NodeSeq) in 
> the
>    Loc's params.
>    - Loc.breadCrumbs will build a list of Loc[_] to the current page.
>    - SiteMap.buildMenu(Can[Loc[_]]) will build a complete menu given the
>    current access control rules.
>    - The CRUDify trait can be mixed into any KeyedMetaMapper to give you
>    CRUD scaffolding.  Here's how it works:
>    object Book extends Book with LongKeyedMetaMapper[Book] with
>    CRUDify[Long, Book]
>    and in boot, make sure that the menus into Book.menu
>    That's all there is to making full CRUD apps in Lift
>
> Thanks,
>
> David
>
>
>
> --
> Lift, the simply functional web framework http://liftweb.net
> Collaborative Task Management http://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
-~----------~----~----~----~------~----~------~--~---

Reply via email to