[Lift] Re: How to redirect to a specify url when logged in successfully?

2009-12-19 Thread Neil.Lv
Thanks David, Override the homePage method, and it works now! But the loginFirst method can't work. Cheers, Neil On Dec 19, 8:09 am, David Pollak feeder.of.the.be...@gmail.com wrote: I did a override def homePage = /all_users and that's where I go after I log in. On Thu, Dec

Re: [Lift] Re: How to redirect to a specify url when logged in successfully?

2009-12-18 Thread David Pollak
I did a override def homePage = /all_users and that's where I go after I log in. On Thu, Dec 3, 2009 at 5:44 AM, Neil.Lv anim...@gmail.com wrote: I added this code in the User model, but it doesn't work yet. This println method is never executed. Maybe some configuration need to be set ?

[Lift] Re: How to redirect to a specify url when logged in successfully?

2009-12-03 Thread Neil.Lv
I added this code in the User model, but it doesn't work yet. This println method is never executed. Maybe some configuration need to be set ? ### object User extends User with MetaMegaProtoUser[User] { ... override def loginFirst = If( loggedIn_? _, () = { import

[Lift] Re: How to redirect to a specify url when logged in successfully?

2009-11-29 Thread Neil.Lv
The /user_mgt/login link is supported by the Lift's User Module. Maybe can i override some method to change the param of the redirectTo method .? What's the DispatchPF that how to use it ? I haven't use the DispathPF yet!~ Thanks very much! :) Cheers, Neil On Nov 29, 5:36 pm,

[Lift] Re: How to redirect to a specify url when logged in successfully?

2009-11-29 Thread Marius
About DisptachPF I replied privately to your email. I didn't realize that you were using Mapper. Here are a few threads that may help you: http://groups.google.com/group/liftweb/browse_thread/thread/bdd5accd4bb623c9/d56e054c4037470f?lnk=gstq=Login#d56e054c4037470f

[Lift] Re: How to redirect to a specify url when logged in successfully?

2009-11-29 Thread Neil.Lv
Got it, Thank you very much! I'm looking forward to your replied about the DispatchPF. Cheers, Neil On Nov 29, 11:55 pm, Marius marius.dan...@gmail.com wrote: About DisptachPF I replied privately to your email. I didn't realize that you were using Mapper. Here are a few threads that