- Original Message -
From: Larry Leszczynski lar...@emailplus.org
To: Bill Moseley mose...@hank.org; Catalyst Framework
catalyst@lists.scsys.co.uk
Sent: Tuesday, February 24, 2009 3:44 AM
Subject: Re: [Catalyst] stripping path parts and then redispatch?
Just wanted to pass along
On 24 Feb 2009, at 18:49, Larry Leszczynski wrote:
I'll be happy to give it a go, if someone can suggest appropriate
places
to add this to the POD and/or wiki...
How about here: http://dev.catalyst.perl.org/wiki/wikicookbook
$c-SUPER::prepare_path(@_);
Tiny nit pick - you
On Wed, Feb 25, 2009 at 01:12:57AM +, Tomas Doran wrote:
On 24 Feb 2009, at 18:49, Larry Leszczynski wrote:
I'll be happy to give it a go, if someone can suggest appropriate
places
to add this to the POD and/or wiki...
How about here: http://dev.catalyst.perl.org/wiki/wikicookbook
Hi Lars -
I have an existing site, and want to add the page language to the URLs
so that caching will work correctly, e.g. /foo/bar would now look like
/en/foo/bar or /fr/foo/bar.
Apart from the missing true return value from auto, this works:
Larry Leszczynski wrote:
Hi Lars -
I have an existing site, and want to add the page language to the URLs
so that caching will work correctly, e.g. /foo/bar would now look like
/en/foo/bar or /fr/foo/bar.
Apart from the missing true return value from auto, this works:
Hi Jason -
I have an existing site, and want to add the page language to the URLs
so that caching will work correctly, e.g. /foo/bar would now look like
/en/foo/bar or /fr/foo/bar.
Apart from the missing true return value from auto, this works:
Just wanted to pass along some solutions...
To recap briefly:
URLs are prefixed with the page language, e.g /en/foo/bar. The
language needs to be stripped off and stashed, and the remainder of the
request processed as if the language part had not been there, e.g.
/foo/bar.
I was trying to use
Subject: Re: [Catalyst] stripping path parts and then redispatch?
Just wanted to pass along some solutions...
To recap briefly:
URLs are prefixed with the page language, e.g /en/foo/bar. The
language needs to be stripped off and stashed, and the remainder of the
request processed as if the language
Hi Tomas -
I'm using Catalyst 5.8.5 so I can make use of any of forward, detach,
visit, go, etc.
Not helpful to your main email, but there is no such version as 5.8.5?
I assume you mean 5.8000_05, which is a developer release?
Yes, that's what I meant, sorry.
Larry
On 22 Feb 2009, at 22:28, Larry Leszczynski wrote:
I'm using Catalyst 5.8.5 so I can make use of any of forward, detach,
visit, go, etc.
Not helpful to your main email, but there is no such version as 5.8.5?
I assume you mean 5.8000_05, which is a developer release?
Cheers
t0m
On Sun, Feb 22, 2009 at 03:28:48PM -0700, Larry Leszczynski wrote:
I'd like to be able to capture and strip off the language, in e.g.
MyApp::Controller::Root::auto(), and then either forward or redispatch
to the existing controllers, but haven't been able to come up with a way
of generating
On Sun, Feb 22, 2009 at 11:28 PM, Larry Leszczynski
lar...@emailplus.org wrote:
I have an existing site, and want to add the page language to the URLs
so that caching will work correctly, e.g. /foo/bar would now look like
/en/foo/bar or /fr/foo/bar. (The language is user-selected, not
from
12 matches
Mail list logo