On Tue, Oct 12, 2010 at 12:47 PM, Anthony Gladdish
wrote:
> Thanks for your feedback Denny, Ben and Stuart – good food for thought!
>
> I think some sort of handling logic in Root’s default action to test for the
> existence of template and error or 404 if it doesn’t – is the way forward.
>
> Many
On Tue, Oct 12, 2010 at 1:27 PM, Fernan Aguero wrote:
> On Tue, Oct 12, 2010 at 12:47 PM, Anthony Gladdish
> wrote:
>> Thanks for your feedback Denny, Ben and Stuart – good food for thought!
>>
>> I think some sort of handling logic in Root’s default action to test for the
>> existence of templat
nfobal.com]
Sent: 11 October 2010 19:35
To: The elegant MVC web framework
Subject: Re: [Catalyst] Displaying template files without adding new controller
actions
If it's a TT file you need (i.e., not static), along with appropriate
processing, you can make a variation on Ben's suggest
If it's a TT file you need (i.e., not static), along with appropriate
processing, you can make a variation on Ben's suggestion by using the
$c->request->arguments, and putting the file name into $c->stash->{template}
before handing off to the TT view, which is likely to be the default. This is a
denny.me]
Sent: 11 October 2010 15:22
To: The elegant MVC web framework
Subject: Re: [Catalyst] Displaying template files without adding new controller
actions
On Mon, 2010-10-11 at 15:02 +0100, Anthony Gladdish wrote:
I'd like to add various web pages to my Catalyst app without the need
to
On Mon, 2010-10-11 at 15:50 +0100, Anthony Gladdish wrote:
> Suppose I had a 100 different ( fairly static content ) web pages - I
> really don't want to have to create an action for each.
Depending on what you're doing, you may possibly want to take a look at
ShinyCMS: http://shinycms.org (specif
>-Original Message-
>From: Denny [mailto:2...@denny.me]
>Sent: 11 October 2010 15:22
>To: The elegant MVC web framework
>Subject: Re: [Catalyst] Displaying template files without adding new controller
>actions
>
>On Mon, 2010-10-11 at 15:02 +0100, Anthony Gladdish w
On Mon, 2010-10-11 at 15:02 +0100, Anthony Gladdish wrote:
> I'd like to add various web pages to my Catalyst app without the need
> to modify controllers and restarting the server.
> Instead, I just want to add a Template::Toolkit .tt2 file on the file
> system and it get picked up automatically.