[Seaside] Seaside redirects, really?
patmaddox at me.com
Mon Oct 3 20:46:11 UTC 2011
On Oct 3, 2011, at 4:29 AM, Julian Fitzell wrote:
> On Mon, Oct 3, 2011 at 12:26 PM, Lukas Renggli <renggli at gmail.com> wrote:
>>>> Similarly the redirects serve a well
>>>> thought purpose.
>>> which is what exactly?
>>> can you describe that well thought purpose?
>> Decouple the callback processing from the rendering.
> Thus ensuring that (a) hitting refresh doesn't re-trigger an action
> and (b) you don't get the browser dialog asking if you want to
> resubmit form data when you hit the Back button.
Seems like this ought to be easily doable with a boolean somewhere. Did we run the callbacks for continuation asdfa123? If so, don't run them. No redirect necessary, no double callbacks being run on refresh. Still have the "do you want to resubmit this form" alert, but I've never been concerned about that and don't particularly understand why people are.
More information about the seaside