After searching through SO, and not finding anything useful, I decided to post this question.
Is it possible to execute the “Redirect after Post” idiom in Lift – and if so how?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes it is possible.
One thing to notice, is that in order to avoid “form resubmission” warning, we need to redirect to ourselves when we want to show things like errors or notices, as per the mail archive discussion by Naftoli Gugenheim:
So, for example when processing a form we can do something like this: