I'm using ProtoUser. But even so, I thought that I might have to
create a
bunch of separate login pages, each using the loginXhtml form so that
action={S.uri} would generate the links to match with the cases. In
that
way I could do the redirection. But that seems convoluted, to me.

This goes back to using EarlyAccess on a menu item, redirecting to the
appropriate
login page, and then once the user logs in, he is immediately taken to
a new page
rather than back to "/index". Really, what I'm trying to do is create
a wizard widget
or sorts, to perform a sequence of tasks with a finish button on the
last page.

Glenn...

On May 15, 2:43 pm, David Pollak <[email protected]>
wrote:
> On your login page, you can capture the referer and then redirect to the
> refering page on successful login.
>
> Are you using ProtoUser or are you rolling your own login page?
>
>
>
> On Fri, May 15, 2009 at 1:27 PM, glenn <[email protected]> wrote:
>
> > If I wanted to redirect the user to a different page, depending on
> > what page they were on when they initiated a login,
> > does anyone know of a good solution?
>
> > I'm thinking I need to use a DispatchLocSnippets and define different
> > dispatch case functions. But I'm not clear how best to go about it?
> > Would I need different login pages for each case, or is there a
> > cleaner way in which I can use a single login page for job?
>
> > Glenn...
>
> --
> Lift, the simply functional web frameworkhttp://liftweb.net
> Beginning Scalahttp://www.apress.com/book/view/1430219890
> Follow me:http://twitter.com/dpp
> Git some:http://github.com/dpp

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