Re: [Lift] Test whether a Loc is a child of another Loc

2010-02-11 Thread David Pollak
loc.breadCrumbs.contains(locToTest) On Thu, Feb 11, 2010 at 10:00 AM, 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

[Lift] Test whether a Loc is a child of another Loc

2010-02-11 Thread Heiko Seeberger
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. Thank you! Heiko Seeberger Work: weiglewilczek.com Blog: heikoseeberger.na