; );
has '+is_html5' => (default=>1);
__PACKAGE__->meta->make_immutable;
use namespace::autoclean;
1;
and in your config:
form_handler LoginForm::Bootstrap
...
cheers, Lukas
Hi Rob Brown.
thank you for your reply.
On 09/10/13 10:55, Rob B
Hi Ferz,
I'm a little confused as to what you're trying to do exactly.
Here's a simple typical TT example of the login form using
CatalystX::Controller::Auth...
id="loginform" >
[% form.field('email').render %]
[% form.field('password').render %
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
> t
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
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 are
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 =
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
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 di
me to get my head round for sure!
Regards,
Craig.
____
From: 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 $
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 automa
Hi Gordon,
Not quite the best place to be asking, but you want something like...
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 if ya want some extr
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
, basically building my app as
standalone and hooking it into Catalyst as a model
(http://lecstor.com/catalyst_fat_model.html). It's not perfect though..
If you search the list you should find more than a few related
discussions..
cheers,
J
On Sun, Feb 5, 2012 at 9:43 PM, Rob
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
14 matches
Mail list logo