Re: [Catalyst] Template::Toolkit + Empty Lists

2006-08-01 Thread A. Pagaltzis
* Mark Blythe [EMAIL PROTECTED] [2006-08-01 07:45]: Well, it turns out that the size will always be = 1, because TT can't seem to handle an empty list. If the method called (parent.children) returns an empty list, TT will substitute the return value with an empty string: '''. Sorta. TT

Re: [Catalyst] Template::Toolkit + Empty Lists

2006-08-01 Thread Nigel Metheringham
On Mon, 2006-07-31 at 22:37 -0700, Mark Blythe wrote: This is slightly off-topic, but since I'm running into this problem while using Catalyst, I'm hoping that others on the list may have already solved it. I was writing a simple template today, using TT + DBIC. I had an object and was

Re: [Catalyst] Making pages within pages

2006-08-01 Thread Ash Berlin
Paul Makepeace wrote: On 8/1/06, Ted Carnahan [EMAIL PROTECTED] wrote: Have a look at Catalyst::Plugin::SubRequest. Ah, great, thanks, that looks like what my snippet was trying to achieve. That will allow you to make a completely separate request to a different action, and it

Re: [Catalyst] Making pages within pages

2006-08-01 Thread Paul Makepeace
On 8/1/06, Ash Berlin [EMAIL PROTECTED] wrote: If you just want to render another template and don't want a full other request (sub-requests behaves as if the user hit them in the browser) look at

Re: [Catalyst] Authentication::Store::DBIC works undermyapp_server.pl but not Apache/mod_perl

2006-08-01 Thread Rodney Broom
From: Christopher H. Laco [EMAIL PROTECTED] Hmmm. It's been a while since I didn't anything in MP other than convert to FastCGI... I like Fast, too. I've already got mp in because we use other handlers at various phases. ...but doesn't Apache actually load happen twice at startup...once

Re: [Catalyst] Making pages within pages

2006-08-01 Thread Jonathan Rockway
And this might be obvious and not what you need, but keep in mind that you can: [% INCLUDE another_template.tt %] inside your template. Since each request (to your application) by definition returns exactly one document, judicious uses of supertemplates and INCLUDEs can speed things up or

[Catalyst] Breakage in Catalyst::Plugin::Authentication v0.08

2006-08-01 Thread Nilson Santos Figueiredo Junior
I've seen all these numerous posts regarding problems with Catalyst::Plugin::Authentication and, naively, I thought I'd be immune to them. I updated everything yesterday on my development machine and it was working alright. But today (probably after the session expired or something like that) my