[Catalyst] Re: Catalyst Digest, Vol 22, Issue 36

N. Arakawa n-a at u01.gate01.com
Wed Dec 13 22:56:08 GMT 2006


> N. Arakawa wrote:
>> > I often make a data-table view, which links to similar views with
>> > small parameter changes, such as paging or sorting order.
>> >
>> > In this case, making a link URI based on 'delta' information is handy.
>> >
>> > In Application Code:
>> >   sub uri_delta{

>> > There is at least one drawback of this approach:
>> >  it is not possible to 'delete' a parameter.
>> > However, assign 'undef' instead of deleting  parameter often enough.
>> >
>> >   
> Is this any different than $c->req->uri_with()?
> 
> -Brian

Thanks Brian.

I just not notice 'uri_with'.
I only search around the 'uri_for' (Ctalalyst.pm) not a in Reauest.pm
to find a this kind of utility.

What is a recommended ideom in TT-Template for 'uri_with'?





More information about the Catalyst mailing list