On 6/14/06, Eric W. Bates <[EMAIL PROTECTED]> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Sorry.  Assumed the error was prior to parsing the file...

No worries, it's just a bit hard to debug someone's code when you
can't see it ;)

I can't see anything wrong with that controller, could you post your
code for HG.pm and the plant add template?


   Justin

> # File:         Plants.pm
> # Author:       Charlie Root, [EMAIL PROTECTED]
> # Date:         Tue Jun 13 15:55:26 2006
> # Time-stamp:   <2006-06-13 17:24:37 ericx>
> # Description:  Plants controller
> #
> # $Id$
> # $Log$
>
> package HG::Controller::Plants;
>
> use strict;
> use warnings;
> use base 'Catalyst::Controller';
>
> =head2 default
>
> The default renders a template.
>
> =cut
>
> sub default : Private {
>     my ( $self, $c ) = @_;
>
>     # Hello World
>     #$c->response->body('HG::Controller::Plants is on Catalyst!');
>     $c->stash->{template} = 'plant.tt';
> }
>
>
> =head2 add
>
> Add a new plant into the database.
>
> =cut
>
> sub add : Local {
>     my $self = shift;
>     my $c    = shift;
>
>     # 2 different syntax?
>     #$c->stash->{template} = 'plant_add.tt';
>     $c->stash(template => 'plant_add.tt');
> }
>
>
> 10101;
>
>
> >    Justin Guenther
> >
> > _______________________________________________
> > 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/
> >
> >
>
> - --
> Eric W. Bates
> [EMAIL PROTECTED]
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.3 (FreeBSD)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFEkCPyD1roJTQ4LlERAngfAJ97EeIf57EWnkjdTVTevowH/65BAQCeIQJt
> 1ywhryQ5rovgVNXbOmrfeA4=
> =9RzM
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> 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/
>

_______________________________________________
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