[jifty-devel] minor continuation redirect patch
Jason Adams
jason.paul.adams at gmail.com
Fri Nov 10 14:10:58 EST 2006
This is how I'm creating the tangent
<% Jifty->web->tangent(
label => "[del]",
as_link => 1,
url => 'delete_script.html',
parameters => { scriptid => $script->id }
) %>
Which when clicked sends me to:
http://localhost:8888/delete_script.html%3Fscriptid=2&J:C=S7713554_269802
Jason Adams
On 11/9/06, Alex Vandiver <alexmv at bestpractical.com> wrote:
> On Thu, 2006-11-09 at 11:33 -0500, Jason Adams wrote:
> > I wanted contiuations to be able to return to urls like
> > "http://foo.com/item.html?itemid=42" but the '?' was getting escaped.
> > The attached patch fixes that.
>
> Jifty->web->tangent() should already deal correctly with parameters;
> just call it as:
>
> Jifty->web->tangent( url => "/item.html", parameters => {itemid => 42});
>
> ..were you, rather, calling Jifty->request->save_continuation directly?
> - Alex
> _______________________________________________
> jifty-devel mailing list
> jifty-devel at lists.jifty.org
> http://lists.jifty.org/cgi-bin/mailman/listinfo/jifty-devel
>
More information about the jifty-devel
mailing list