Of course its possible.

def myMethod = {
  def submitHandler(){
    // after post, redirect
    S.redirectTo("/my/page")
  }
  bind(....., submit -> SHtml.submit(submitHandler))
}

Cheers, Tim

On Feb 7, 2:53 pm, Francois <fan...@gmail.com> wrote:
> Hello guys,
>
> A common pattern to avoid duplicate form submission is to redirect after
> POST to a view of the result (http://en.wikipedia.org/wiki/Post/Redirect/Get)
>
> Does Lift as something built-in for that, and if not, what would be the
> best way to build it ?
>
> Thanks,
>
> --
> Francois ARMANDhttp://fanf42.blogspot.com

-- 
You received this message because you are subscribed to the Google Groups 
"Lift" group.
To post to this group, send email to lift...@googlegroups.com.
To unsubscribe from this group, send email to 
liftweb+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/liftweb?hl=en.

Reply via email to