wicket-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johan Compagner" <jcompag...@gmail.com>
Subject Re: Single-page applications: bad idea in Wicket ?
Date Thu, 08 Feb 2007 21:45:08 GMT
So always remember the last versionnumber for a page that was a normal
And all normal and ajax request to that version number will always give the

What we also could do is have special ajax versioning that doesn't up the
version number
but can be used in an ajax request to rollback. some thing like:

Component[] alteredComponents = page.getVersionManager


On 2/8/07, Eelco Hillenius <eelco.hillenius@gmail.com> wrote:
> On 2/8/07, Matej Knopp <matej@knopp.sk> wrote:
> > Eelco Hillenius wrote:
> > > Can't we come up with something smart like recording the last non-ajax
> > > request so that when a request for exactly that url comes in after a
> > > couple version changing ajax request we now that we have to discard
> > > version info but just serve the latest?
> > And what if user really pressed the back button and really returned to
> > the page with "old" verion number?
> Then you would recognize it is not the same url as before the ajax
> request(s) and you would just roll back the whole thing to that
> version.
> Eelco

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message