OK, this is a little odd ...

adding MyApp::View::XHTML.pm

with contents

package Engoi::View::XHTML;
use Reaction::Class;
extends 'Reaction::UI::Renderer::XHTML';
1;

somehow stamps on the config for my TT view, which is in yaml and
looks like this:

View::TToolkit:
  INCLUDE_PATH: 'templates'
  TEMPLATE_EXTENSION: '.tt'

is the template path somehow hardcoded into
Reaction::UI::Renderer::XHTML.pm ? I looked at the source, and I
didn't see anything that looks like that ...


On 1/2/07, Daniel McBrearty <[EMAIL PROTECTED]> wrote:
On 1/2/07, Matt S Trout <[EMAIL PROTECTED]> wrote:
>
> On 2 Jan 2007, at 21:26, Daniel McBrearty wrote:
>
> > to be specific, I'm now getting :
> >
> > Caught exception in Engoi::Controller::Admin->end "Can't call method
> > "render" on an undefined value at
> > /home/daniel/work/engoi/trunk/Engoi/script/../lib/Reaction/UI/
> > Window.pm
> > line 63."
>
> That's failure to find the view.
>

gottit. Add MyApp::View::XHTML.pm as per the example.

now I get "file error - component: not found" ...


--
Daniel McBrearty
email : danielmcbrearty at gmail.com
www.engoi.com : the multi - language vocab trainer
BTW : 0873928131



--
Daniel McBrearty
email : danielmcbrearty at gmail.com
www.engoi.com : the multi - language vocab trainer
BTW : 0873928131

_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to