On 11 February 2010 19:00, Heiko Seeberger
<heiko.seeber...@googlemail.com>wrote:

> Hi,
>
> I would like to know what's the easiest way to test whether a Loc is a
> "child" of another Loc. Which means, that the path to the first Loc contains
> the path to the second one, e.g. myapp/login and myapp/login/signup.
>

OK, I came up myself with this simple solution:

loc.link isDefinedAt req

Heiko

Work: weiglewilczek.com
Blog: heikoseeberger.name
Follow me: twitter.com/hseeberger
OSGi on Scala: scalamodules.org
Lift, the simply functional web framework: liftweb.net

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