Bill -- We're running Catalyst::Runtime 5.80022 but uri_with comes via Catalyst::Request which doesn't appear to have a $VERSION specified. This is on Debian 5.0.4 (stable) but we've had to use CPAN to get more modern versions of many of the Debian libraries to get around the "uses NEXT which is deprecated" warnings.<div>
<br></div><div>Oleg -- that seems delightfully sneaky for a GET form, definitely worth playing with. But how does that work the the $c->stash->{pager} paradigm to skip to "last page" for example?</div>
<div><br></div><div>Stuart -- when you say you serialize the search form, are you using Javascript to compress/encapsulate things before they go to the server for unwrapping? And if you can elaborate more on the mechanics of 303-forwarding from a POST handler to a GET handler (or share a link or two) I'd be most appreciative.</div>
<div><br><br><div class="gmail_quote">On Fri, Jun 4, 2010 at 10:58 AM, Bill Crawford <span dir="ltr"><<a href="mailto:billcrawford1970@gmail.com" target="_blank">billcrawford1970@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>On 2 June 2010 18:56, <a href="mailto:will@serensoft.com" target="_blank">will@serensoft.com</a> <<a href="mailto:will@serensoft.com" target="_blank">will@serensoft.com</a>> wrote:<br>
> Short version:<br>
> Using [% c.req.uri_with({ page => pager.next_page }) %] is fine for a simple<br>
> single-field search (where the form uses GET instead of POST)... but how do<br>
> we PAGE through (and/or cache) a multi-field form search that uses POST?<br>
<br>
</div>What version of Catalyst::Runtime adds uri_with? Not found here using<br>
Ubuntu Lucid Loser (5.80022) ...<br>
<div><div></div><div><br>
_______________________________________________<br>
List: <a href="mailto:Catalyst@lists.scsys.co.uk" target="_blank">Catalyst@lists.scsys.co.uk</a><br>
Listinfo: <a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst" target="_blank">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</a><br>
Searchable archive: <a href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/" target="_blank">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</a><br>
Dev site: <a href="http://dev.catalyst.perl.org/" target="_blank">http://dev.catalyst.perl.org/</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>will trillich<br>"It's only by saying 'no' that you can concentrate on the things that are really important." -- Steve Jobs<br>
</div>