Hi,
I've recently jumped into Catalyst and DBIx::Class, and after following
some tutorials, I am left with some controllers and a view which I'm
completely happy with.
The lib/Schema and lib/Model directories have me a little confused
however.
I have a single class in lib/Model, inheriting from
,
J
On Sun, Feb 5, 2012 at 9:43 PM, Rob Brown r...@intelcompute.com wrote:
Hi,
I've recently jumped into Catalyst and DBIx::Class, and after
following
some tutorials, I am left with some controllers and a view which
I'm
completely happy
Think I've been here before...
Sounds like this is down to the separation of transport vs application.
If the request was successfully received, you should return a 200.
If your app decides something was wrong, then it's for your own message
framework to send that information back.
Don't just
Hi Gordon,
Not quite the best place to be asking, but you want something like...
select name=retailer
onChange=parent.location='/retailers/?retailer='+this.options[this.selectedIndex].value
HTML::FormHandler allows you to set javascript actions in the field
definitions.
Email me directly
There's no black-magic going on, so your AuthenticateUser() sub never
magically gets $c.
In short, you'll only get $c when using the method attributes, such as
:Private, :Chained, etc.
On 10/29/2012 07:07 PM, Craig Chant wrote:
Hi,
I seem to be unable to work out why $c is never
: Rob Brown [r...@intelcompute.com]
Sent: 29 October 2012 19:11
To: catalyst@lists.scsys.co.uk
Subject: Re: [Catalyst] Why is $c undefined?
There's no black-magic going on, so your AuthenticateUser() sub never
magically gets $c.
In short, you'll only get $c when using the method attributes
basically...
$sth-finish if you've finished with the results of that statement, ie,
you've looped through the rows and are now done.
$dbh-disconnect if you've finished with the database connection, tho
now you start to think about working in a persistent environment, where
you may never
the paths are from /root/src (as per the config), so if you've created
another folder called login and put the file in there, you'd need to
say...
$c-stash(template = 'login/login.tp');
On 10/30/2012 04:52 PM, Craig Chant wrote:
I seem stuck with implementing my first view / template.
I
ignore that then, didn't read all of your message :-/
On 10/30/2012 04:58 PM, Rob Brown wrote:
the paths are from /root/src (as per the config), so if you've created
another folder called login and put the file in there, you'd need to
say...
$c-stash(template = 'login/login.tp');
On 10/30
Your script is not running under Catalyst, so $c, or the Catalyst
context, is not available.
$c manages HTTP requests and responses.
It sounds like your approach/design may be slightly flawed. Perhaps
explain what you're trying to achieve - what are you doing with these
templates? where
Craig,
Seriously, come and talk to us on irc...
http://chat.mibbit.com/#catal...@irc.perl.org
It's much easier/faster to get answers in real-time.
Cheers,
Robsco
On 10/31/2012 11:42 AM, Craig Chant wrote:
Sorry, I'm getting confused the way this mailing list works as it is all
fragmented
I especially like the list of spam (?) sites/blogs on
http://wiki.catalystframework.org/wiki/sitesrunningcatalyst which don't look
very much like Catalyst.
Rob
On 8 Jun 2013, at 00:16, bill hauck wrote:
Hi.
Does anyone know of a list of applications that are using Catalyst? I saw
the
-make_immutable;
use namespace::autoclean;
1;
and in your config:
Controller::Auth
form_handler LoginForm::Bootstrap
...
/Controller::Auth
cheers, Lukas
Hi Rob Brown.
thank you for your reply.
On 09/10/13 10:55, Rob Brown wrote:
Hi Ferz,
I'm a little confused as to what
13 matches
Mail list logo