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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
[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
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
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
20 matches
Mail list logo