Hi all,
I'm trying to use Catayst::View::XSLT and my end sub looks like this:
# from MyApp::Controller::Root
sub end : Private {
my ( $c, $self ) = @_;
$c->forward( $c->view('XSLT') );
}
but when I make a request to the server I get an error:
[error] Caught exception in MyApp::Controller::Root->end "Can't locate
object method "view" via package "MyApp::Controller::Root" at
/Users/adeola/projects/MyApp/script/../lib/MyApp/Controller/Root.pm line
160."
I have even tried:
c->forward('MyApp::View::XSLT');
and that gives the the error:
[error] Caught exception in MyApp::Controller::Root->end "Can't locate
object method "forward" via package "MyApp::Controller::Root" at
/Users/adeola/projects/MyApp/script/../lib/MyApp/Controller/Root.pm line
160."
Am I missing something? Any tips/leads would be greatly appreciated.
Adeola.
--
Creative Developer - Digital Craftsmen Ltd
Exmouth House, 3 Pine Street
London, EC1R 0JH
t: +44 20 7183 1410
f: +44 20 7099 5140
m: +44 79 3952 0786
w: http://www.digitalcraftsmen.net/
_______________________________________________
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/