[Seaside] Re: Re: How to mark not-cacheable?
itsme213 at hotmail.com
Thu Jan 17 05:00:34 UTC 2008
"Esteban A. Maringolo" <emaringolo at gmail.com> wrote in message
>> There are two questions remaining:
> > - What happens if you try to trigger such a callback the second time?
>> Do you specify another callback that should be triggered instead? Do
>> you display an error message? Do you regenerate the current page? Do
>> you redirect to the latest page?
> The latest would be the safer option.
> Another would be to handle this in the same way as #isolate: does.
I would prefer to regenerate, so the page looks at least similar to what he
had previously (except some content has changed due to non-backtrackable
state change on the server). A redirect page could be a completely different
looking page, I think, so would be diorienting for "Back". It would be up to
page-generation to correctly render according to whatever it considers
backtrackable + non-backtrackable state at the time of (re)generation.
More information about the seaside