Hello,

> Instead of building your Loc inline in the SiteMap declaration and
> using findLoc, simply declare the loc as a val (with the appropriate
> type parameter) in Boot or a similar object of your choosing.


yes, that looks quite nice, although I'm just using User.sitemap for now :).

But looking at MetaMegaProtoUser trait I now see that there's for example a 
"loginPath" val which I can simply use instead of lookuing up the loc. As well 
as some other useful functions :)

-- 
Adam Warski
http://www.warski.org
http://www.softwaremill.eu




-- 
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