FAQ
hi guys
I been reading up on

1) the tute ,
http://search.cpan.org/~hkclark/Catalyst-Manual-5.7020/lib/Catalyst/Manual/Tutorial/MoreCatalystBasics.pod#CATALYST_VIEWS,
2)
http://search.cpan.org/~mramberg/Catalyst-View-TT-0.29/lib/Catalyst/View/TT.pm#CONFIGURATION
3) http://www.mail-archive.com/catalyst@lists.scsys.co.uk/msg00630.html

I have a view named myApp::View::TT which I have a file,
myApp/View/TT.pm defined.
From what I have read, to set default view to TT, I have to declare
'default_view' => 'TT', in my myApp.pm file.

I have tried different values for default_view (ie. myApp::View::TT and
View::TT) but they do not work either.

please advise.

thank you

Search Discussions

  • Tomas Doran at May 6, 2009 at 5:45 pm

    kakimoto@tpg.com.au wrote:
    From what I have read, to set default view to TT, I have to declare
    'default_view' => 'TT', in my myApp.pm file.
    That's exactly right.

    So you'll be saying:

    __PACKAGE__->config( default_view => 'TT' );

    in MyApp.pm

    Cheers
    t0m
  • K. Akimoto at May 7, 2009 at 8:57 am

    That's exactly right.

    So you'll be saying:

    __PACKAGE__->config( default_view => 'TT' );

    in MyApp.pm
    hello, Tom,

    thank you and have a good day!
    k. akimoto

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcatalyst @
categoriescatalyst, perl
postedMay 6, '09 at 4:58p
activeMay 7, '09 at 8:57a
posts3
users2
websitecatalystframework.org
irc#catalyst

2 users in discussion

K. Akimoto: 2 posts Tomas Doran: 1 post

People

Translate

site design / logo © 2021 Grokbase