On Thu, Dec 31, 2009 at 1:55 PM, Alex Black <a...@alexblack.ca> wrote:

> Two questions:
>
> 1. Whats the replacement for LiftRules.rewrite?
> 2. Is there a way I can write a custom Loc so that SiteMap is aware of
> the re-writing?
>

Yes.  Please see the Wiki code in example:
http://github.com/dpp/liftweb/blob/master/lift-examples/example/src/main/scala/net/liftweb/example/lib/WikiStuff.scala

The Loc is integrated with the rewriting and the rewritten stuff is type
safe.


>
> I'm following the AccountLoc extends Loc[AccountInfo] example in the
> book, but my rewriting is not having any effect yet, I am trying to
> figure out what I am missing.
>
> - Alex
>
> --
>
> 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.


Reply via email to