[Catalyst] How do I set the default view in Catalyst?
kakimoto at tpg.com.au
kakimoto at tpg.com.au
Wed May 6 16:58:56 GMT 2009
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
More information about the Catalyst
mailing list