ok, answered my own question, partly. Reaction::Controller isa
Cat::C::Bindlex, which is a Cat::C so I can use a
Reaction::Controller as a souped up Cat::C, I guess ...
On 1/2/07, Daniel McBrearty [EMAIL PROTECTED] wrote:
I took a look, I got it to run, I went ... ah ... now it's silly
On 2 Jan 2007, at 16:12, Daniel McBrearty wrote:
ok, answered my own question, partly. Reaction::Controller isa
Cat::C::Bindlex, which is a Cat::C so I can use a
Reaction::Controller as a souped up Cat::C, I guess ...
Precisely. Reaction drops in happily to any existing Cat app, we've
The only thing to remember is that it expects the I18N plugin to be
loaded since all text is run through that before display
Hmmm. I specifically don't want to use that plugin, as we have our own
version which is similar but different. We may be a bit wrongheaded
about this at the moment, but
OK. It is a good idea to make sure everything in the view goes through
the I18N code, for sure. I'd like to merge what we are doing there
with the cat plugin, but tat can wait ...
next questions, about the Root.pm of the example app ... :
1.
use base 'Reaction::UI::RootController';
use
On 2 Jan 2007, at 20:10, Daniel McBrearty wrote:
OK. It is a good idea to make sure everything in the view goes through
the I18N code, for sure. I'd like to merge what we are doing there
with the cat plugin, but tat can wait ...
next questions, about the Root.pm of the example app ... :
1.
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.
which I guess is caused by the fact that I have not put those
templates ...
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
ok ... but I have /root as my site base (static files), all my
tempates are in /templates ... can I put them in /templates/base
somehow?
On 1/2/07, Matt S Trout [EMAIL PROTECTED] wrote:
On 2 Jan 2007, at 21:20, Daniel McBrearty wrote:
gotcha. The only part I had to put in Root.pm was the
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'
to give the extra info ...
if I have just my Admin controller with just:
package Engoi::Controller::Admin;
use strict;
use warnings;
#use base 'Catalyst::Controller';
use base 'Reaction::UI::RootController';
use Reaction::Class;
use aliased 'Reaction::UI::ViewPort';
1;
(no actions ...)
and
10 matches
Mail list logo