[Catalyst] Catalyst-View-TT-Alloy v0.00001

2007-09-21 Thread Carl Franks
I've uploaded a new module to cpan - Catalyst-View-TT-Alloy. It's essentially a copy of Cat-View-TT (attributed!), but uses Template::Alloy instead of Template. It only provides the TT emulation interface - not all the other interfaces that Template::Alloy provides. Hope someone else might find

[Catalyst] Catalyst::View::TT bug if DUMP_CONFIG enabled

2007-02-06 Thread Svilen Ivanov
Hi, There is runtime error when I enable DUMP_CONFIG in C::V::TT that prints Template toolkit configuration. The error is: Couldn't instantiate component My::V::TT, Undefined subroutine Catalyst::View::TT::Dump called at /usr/local/share/perl/5.8.8/Catalyst/View/TT.pm line 120. at

Re: [Catalyst] Catalyst::View::TT

2006-11-14 Thread Jonathan Rockway
Bill Moseley wrote: Do all browsers accept application/xhtml+xml these days? I thought I remembered seeing something about setting the content type based on HTTP_ACCEPT. No, but it's been a W3C standard for 7 years now, so it's probably time to start sending it. The number of NCSA Mosiac

Re: [Catalyst] Catalyst::View::TT

2006-11-14 Thread Krzysztof Krzyżaniak
Ivan Wills [EMAIL PROTECTED] writes: Krzysztof Krzyżaniak wrote: Ash Berlin [EMAIL PROTECTED] writes: Ivan Wills wrote: Hi, I'm using Catalyst::View::TT to display my pages. I'm having trouble removing excess blank lines appearing at the top of my files. I realise this is not normally

Re: [Catalyst] Catalyst::View::TT

2006-11-14 Thread Ivan Wills
Krzysztof Krzyżaniak wrote: Ivan Wills [EMAIL PROTECTED] writes: Krzysztof Krzyżaniak wrote: Ash Berlin [EMAIL PROTECTED] writes: Ivan Wills wrote: Hi, I'm using Catalyst::View::TT to display my pages. I'm having trouble removing excess blank lines appearing

Re: [Catalyst] Catalyst::View::TT

2006-11-14 Thread Marcus Ramberg
On 11/14/06, Ivan Wills [EMAIL PROTECTED] wrote: I have added this line and it removes one blank line from the out putunfortunately there were two lines so it is still causing problems. Ihave checked my templates to make sure they don't have any leading white space, which they don't (they

Re: [Catalyst] Catalyst::View::TT

2006-11-14 Thread Bill Moseley
On Tue, Nov 14, 2006 at 08:39:23PM +1000, Ivan Wills wrote: I have added this line and it removes one blank line from the out put unfortunately there were two lines so it is still causing problems. I have checked my templates to make sure they don't have any leading white space, which they

[Catalyst] Catalyst::View::TT

2006-11-13 Thread Ivan Wills
Hi, I'm using Catalyst::View::TT to display my pages. I'm having trouble removing excess blank lines appearing at the top of my files. I realise this is not normally a problem but I am playing with mixing SVG and XHTML (with content-type=text/xhtml) but Firefox considers the extra blank lines to

Re: [Catalyst] Catalyst::View::TT

2006-11-13 Thread Chisel Wright
On Mon, Nov 13, 2006 at 08:46:27PM +1000, Ivan Wills wrote: Any one know how to remove those blank lines? I think you are talking about the [%- ... %] syntax; search for %- in Template::Manual::Syntax Chisel -- Chisel Wright e: [EMAIL PROTECTED] w: http://www.herlpacker.co.uk/ What do we

Re: [Catalyst] Catalyst::View::TT

2006-11-13 Thread Ash Berlin
Ivan Wills wrote: Hi, I'm using Catalyst::View::TT to display my pages. I'm having trouble removing excess blank lines appearing at the top of my files. I realise this is not normally a problem but I am playing with mixing SVG and XHTML (with content-type=text/xhtml) but Firefox considers the

Re: [Catalyst] Catalyst::View::TT

2006-11-13 Thread Krzysztof Krzyżaniak
Ash Berlin [EMAIL PROTECTED] writes: Ivan Wills wrote: Hi, I'm using Catalyst::View::TT to display my pages. I'm having trouble removing excess blank lines appearing at the top of my files. I realise this is not normally a problem but I am playing with mixing SVG and XHTML (with

Re: [Catalyst] Catalyst::View::TT

2006-11-13 Thread Ivan Wills
Krzysztof Krzyżaniak wrote: Ash Berlin [EMAIL PROTECTED] writes: Ivan Wills wrote: Hi, I'm using Catalyst::View::TT to display my pages. I'm having trouble removing excess blank lines appearing at the top of my files. I realise this is not normally a problem but I am playing with

Re: [Catalyst] Catalyst::View::TT

2006-11-13 Thread Bill Moseley
On Tue, Nov 14, 2006 at 09:38:04AM +1000, Ivan Wills wrote: PS I do use [%- and -%] they make no difference, it is something that Catalyst is adding the blank lines as the same templates processed directly by Template Toolkit do not produce the initial blank lines. If you don't want to

[Catalyst] Catalyst::View::TT is empty.

2006-10-16 Thread Ryan Detzel
I'm running this fine on two servers but I tried to run on my desktop(Fresh install) and I get this. Could it be that everything is brand new(latest releases) and it was made with an older version?Base class package Catalyst::View::TT is empty. (Perhaps you need to 'use' the module which defines

[Catalyst] Catalyst::View::TT - strange caching annoyance

2006-09-13 Thread Einon
Hi! I found an interesting bug in Catalyst::View::TT. Catalyst caches wrong templates even if I do not use caching. I created a fresh application with catalyst.pl, added some templates, modified the MyApp.pm according to my needs, and finally I added a TT view. After fireing up the application

Re: [Catalyst] Catalyst::View::TT - strange caching annoyance

2006-09-13 Thread Jason Kohles
On 9/13/06, Einon [EMAIL PROTECTED] wrote: Hi! I found an interesting bug in Catalyst::View::TT. Catalyst caches wrong templates even if I do not use caching. Regardless of whether you have Catalyst configured to do caching, Template Toolkit does it's own in-memory caching by default. From

Re: [Catalyst] Catalyst::View::TT - strange caching annoyance

2006-09-13 Thread Jonathan Rockway
However, TT should update its cache automagically (keyed on mtime) -- even if you use the full compiled (to-disk) template cache. Questions: 0. What version of TT, Catalyst, and C::V::TT are you using? (Find out with perl -MCatalyst -e 'print Catalyst-VERSION', etc.) 1. Can you provide us

Re: [Catalyst] Catalyst::View::TT - strange caching annoyance

2006-09-13 Thread Wade . Stuart
[EMAIL PROTECTED] wrote on 09/13/2006 11:53:41 AM: However, TT should update its cache automagically (keyed on mtime) -- even if you use the full compiled (to-disk) template cache. Questions: 0. What version of TT, Catalyst, and C::V::TT are you using? (Find out with perl

Re: [Catalyst] Catalyst::View::TT - strange caching annoyance

2006-09-13 Thread Jonathan Rockway
Good find. The whole complicated [% BLOCK %] business that I was complaining about was actually the problem. I admit to never having used [% BLOCK %], so that's why I didn't run into the problem. Regards, Jonathan Rockway Brian Kirkbride wrote: Einon wrote: Hi! I found an interesting bug

Re: [Catalyst] Catalyst::View::TT - strange caching annoyance

2006-09-13 Thread Brian Kirkbride
Jonathan Rockway wrote: Good find. The whole complicated [% BLOCK %] business that I was complaining about was actually the problem. I admit to never having used [% BLOCK %], so that's why I didn't run into the problem. Regards, Jonathan Rockway Ah, that makes sense. What do you