[jifty-devel] Continuations and Actions
mikko.lipasti at polarcom.fi
Tue Apr 1 06:04:45 EDT 2008
----- Mikko Lipasti <mikko.lipasti at polarcom.fi> wrote:
> ----- "Alex Vandiver" <alexmv at bestpractical.com> wrote:
> > This is what, for example, Seaside would do. Jifty doesn't do this
> > by default because it would mean continuations would pile up, one for
> > every page. You *can* do this if you want, but the way we generally
> > suggest is rather:
> > 1. 'search' page with results
> > 2. -> click link
> > 2.5. -> also submit the search action with the link
> > 3. 'search' page is reloaded (with results of action)
> > 4. -> continuation saved
> > 5. -> redirected to 'detail' page
> > 6. 'detail' page is shown
> > 7. -> click link
> > 8. -> continuation loaded
> > 9. -> redirected to 'search' page (with results of action)
> > 10. 'search' page
> > Does that make sense?
> Yes it does. What would be the best way to do 2.5? Can I submit an action using a link, other than masquerading form submission using $button->as_link.
> Perhaps serializing the action submission into GET args would work but I don't know how to do that..
More information about the jifty-devel