[Catalyst] Problems forwarding to view

2007-08-02 Thread Adeola Awoyemi
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

Re: [Catalyst] Problems forwarding to view

2007-08-02 Thread Brian Cassidy
Adeola Awoyemi wrote: # from MyApp::Controller::Root sub end : Private { my ( $c, $self ) = @_; $c-forward( $c-view('XSLT') ); } try: my( $self, $c ) = @_; -Brian ___ List: Catalyst@lists.rawmode.org Listinfo:

Re: [Catalyst] Problems forwarding to view

2007-08-02 Thread Peter Karman
Adeola Awoyemi wrote on 8/2/07 6:12 AM: 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') ); } my ($self, $c) = @_; you got 'em reversed. -- Peter

Re: [Catalyst] Problems forwarding to view

2007-08-02 Thread Adeola Awoyemi
Brian Cassidy wrote: Adeola Awoyemi wrote: # from MyApp::Controller::Root sub end : Private { my ( $c, $self ) = @_; $c-forward( $c-view('XSLT') ); } try: my( $self, $c ) = @_; Doh! How could I have missed that one?! I feel sheepish ;-) Thanks Brian Peter. -- Creative Developer