You can get the human-readable pages via the LiftRules.addDispatch...
methods. They take a partial function which uses a RequestMatcher to
determine which handler to use for a particular request. In the process, you
can use Scala's List wildcarding to extract parts of the URL that was passed
in.
Thanks Tim, I had forgotten about just using a rewrite (which is definitely
simpler). I had thought there was a Wiki page on the addDispatch methods,
too, but I can't find it. The Wiki search function doesn't appear to work on
substrings :(
Derek
On Fri, Sep 12, 2008 at 7:46 AM, Tim Perrett
These suggestions look really good. Thanks! I'll pore over the
information and will try to figure it out.
Chas.
Tim Perrett wrote:
Indeed - just reading this thread back and not quite understanding why
its *not* possible to friendly urls in lift its very easy as derek
points out.
The missing piece is the ability to un-rewrite URLs via SiteMap such
that it's easy to create nicely formed URLs with nicely placed
parameters using SiteMap and have the rules be bi-directional. It's
been on my noodling list for a while, but hasn't been high priority.
Charles F. Munat wrote:
I'm also interested in authorization and authentication. If your
going to
use a application server like Glassfish, JAAS is possibility.
However, I'm trying to decide whether to use Acegi (without Spring)
or look at something like JSecurity. Any thoughts as to which would
be a better fit with
I wish I could tell you. I took a look at Acegi when I was playing
around with Spring three years ago, but haven't been back. I am a Ruby
programmer, not a Java programmer, so I was planning to roll my own.
That said, it might be a good idea to check these out. I keep forgetting
that Lift
I'm going to be dealing with these sorts problems in the next couple
of weeks, so I'm also interested in any experiences either of you have
(and will be sure to share my own once I get there.) My initial plan
had been to try to integrate Acegi as well; I'll let you know how it
goes when I get to
Interesting thread - my understanding of Acegi is that it can be
implemented as a servlet filter (i guess in a similar way to lift),
but it has some dependencies on the spring framework itself? Its been
a *long* time since i did anything with spring!
Im no JSecurity or Acegi expert, but just
On Sep 11, 10:27 pm, Charles F. Munat [EMAIL PROTECTED] wrote:
The websites I build tend to have the following features in common:
1. Some method of authentication. I mostly roll my own, but as I
sometimes have one set of users using multiple sites, I'm curious about
OpenID. I know that
Marius wrote:
Also, I like the user-created pages to be accessible by URL (i.e.
without a query string) with a readable URL, so:
mysite.com/some_page
Not:
mysite.com/p123456, mysite.com?page=some_page, or mysite.com?page=123456
What is the difference between mysite.com/some_page and
10 matches
Mail list logo