[Catalyst] How to forward to a specific path

2010-01-01 Thread Julien Sobrier
Hello, I'm try to do a forward to a path rather than a controller. For example, if I get the url /foo/my/path, I want to redirect it to /my/path which belongs to a different controller. In the controllfer Foo, I tried something like this: sub foo :Path :Args { my ($self, $c) = @_

Re: [Catalyst] How to forward to a specific path

2010-01-01 Thread Eisenberger Tamás
Hy! I think your problem is that there is a difference between how an url dispatched to an action, and how forward finds the action to forward to... so for example, if you have a controller (YourApp::Controller::Foo) with an index method you can access it with the url path /foo, but you should

Re: [Catalyst] How to forward to a specific path

2010-01-01 Thread Julien Sobrier
Right, but this mapping is stored somewhere since it is displayed by Catalyst in debug mode: .-+--. | Path| Private |

Re: [Catalyst] How to forward to a specific path

2010-01-01 Thread Larry Leszczynski
Hi Julien - On Fri, 01 Jan 2010 14:26 -0800, Julien Sobrier jul...@sobrier.net wrote: Hello, I'm try to do a forward to a path rather than a controller. For example, if I get the url /foo/my/path, I want to redirect it to /my/path which belongs to a different controller. In general you

Re: [Catalyst] How to forward to a specific path

2010-01-01 Thread Julien Sobrier
Exactly what I needed, thanks a lot. On Fri, Jan 1, 2010 at 8:19 PM, Larry Leszczynski lar...@emailplus.orgwrote: Hi Julien - On Fri, 01 Jan 2010 14:26 -0800, Julien Sobrier jul...@sobrier.net wrote: Hello, I'm try to do a forward to a path rather than a controller. For example, if I

Re: [Catalyst] display multiple png's simultaneously

2010-01-01 Thread Jürgen Hensch
Hi Tamás, according to the server's debug output, all images are created correctly (ie. the requests succeed). If I switch from the object tag to iframe, all images (except the last one which is displayed correctly) produce an error message in their iframe's: Die Grafik http://... kann nicht