Re: [Catalyst] Query : Catalyst forward and relative path in CSS.

2010-11-22 Thread Tomas Doran
On 21 Nov 2010, at 16:10, Rohan M wrote: Although, the scripts are working but I'm facing two problems - 1) The $c-forward('controller/action') NOT working Do you not mean $c-forward('/controller/action'), which looks like a more reasonable private path ? Cheers t0m

[Catalyst] Query : Catalyst forward and relative path in CSS.

2010-11-21 Thread Rohan M
Dear All, I'm trying out the examples and learning Catalyst. Although, the scripts are working but I'm facing two problems - 1) The $c-forward('controller/action') *NOT* working but $c-response-redirect('/controller/action') is working. Any reason ? I do not see any errors on the console.

Re: [Catalyst] Query : Catalyst forward and relative path in CSS.

2010-11-21 Thread Denny
On Sun, 2010-11-21 at 21:40 +0530, Rohan M wrote: 2) I'm using relative path in the CSS - e.g background : url(../static/images/header.gif) Now when I try to go to a page something like /person/edit/1 .. I loose the CSS because of the relative path. i) Is there a way to define a

Re: [Catalyst] Query : Catalyst forward and relative path in CSS.

2010-11-21 Thread Denny
On Sun, 2010-11-21 at 21:40 +0530, Rohan M wrote: Dear All, I'm trying out the examples and learning Catalyst. Although, the scripts are working but I'm facing two problems - 1) The $c-forward('controller/action') NOT working but $c-response-redirect('/controller/action') is working.