>  sub edit : Local Form {
>   my ($self, $c) = @_;
>   if ($c->form->submitted && $c->form->validate) {
>     $c->stash->{message} = 'Thanks for submitting the form';
>   }
>  }

Use $self->formbulder instead of $c->form.  That chapter suffered from
a quick rewrite and some of the examples use and older syntax for
accessing formbuilder.

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

Reply via email to