Re: [Catalyst] [Beginner] Understanding actions and controllers - not!

2010-10-26 Thread Ronald J Kimball
I'm catching up on list mailings, so I'm sorry about the delay on this response. I think an important point was overlooked here... On Thu, Aug 26, 2010 at 5:50 PM, Ekki Plicht (DF4OR) wrote: > Am Montag 23 August 2010, 23:17:40 schrieb Ben van Staveren: > > try using /static/css/main.css ;) >

Re: [Catalyst] [Beginner] Understanding actions and controllers - not!

2010-08-26 Thread Ekki Plicht (DF4OR)
Am Freitag 27 August 2010, 00:02:15 schrieb Kieren Diment: > On 27/08/2010, at 7:50 AM, Ekki Plicht (DF4OR) wrote: > > Am Montag 23 August 2010, 23:17:40 schrieb Ben van Staveren: > >> try using /static/css/main.css ;) > > > > Yup, that did the trick. > > $c.uri_for() would have worked as well, as

Re: [Catalyst] [Beginner] Understanding actions and controllers - not!

2010-08-26 Thread Kieren Diment
On 27/08/2010, at 7:50 AM, Ekki Plicht (DF4OR) wrote: > Am Montag 23 August 2010, 23:17:40 schrieb Ben van Staveren: >> try using /static/css/main.css ;) > > Yup, that did the trick. > $c.uri_for() would have worked as well, as I have learned now (tnx Stuart). $c->uri_for('/static/wherever') i

Re: [Catalyst] [Beginner] Understanding actions and controllers - not!

2010-08-26 Thread Ekki Plicht (DF4OR)
Am Montag 23 August 2010, 23:17:40 schrieb Ben van Staveren: > try using /static/css/main.css ;) Yup, that did the trick. $c.uri_for() would have worked as well, as I have learned now (tnx Stuart). But why? :-) I mean, coming from years of traditional web development it's deeply ingrained not to

Re: [Catalyst] [Beginner] Understanding actions and controllers - not!

2010-08-23 Thread Stuart Watt
I've tended to use: I guess it depends on how it's being hosted, but I couldn't assume the top level URL space, so a straight absolute URL seemed a risk. All the best Stuart -- Stuart Watt ARM Product Developer Information Balance On 8/23/2010 5:17 PM, Ben van Staveren wrote: try using /

Re: [Catalyst] [Beginner] Understanding actions and controllers - not!

2010-08-23 Thread Ben van Staveren
try using /static/css/main.css ;) Ekki Plicht (DF4OR) wrote: Hi. Somewhen over the weekend I had the impression that I em beginning to understand how actions and controllers work. I was wrong. Starting with a bare minimum project, only using the standard root controller with three standard s

[Catalyst] [Beginner] Understanding actions and controllers - not!

2010-08-23 Thread Ekki Plicht (DF4OR)
Hi. Somewhen over the weekend I had the impression that I em beginning to understand how actions and controllers work. I was wrong. Starting with a bare minimum project, only using the standard root controller with three standard subs: index, default, end. I created a view, then set up an 'inde