On 25/02/2008, Joshua McAdams <[EMAIL PROTECTED]> wrote:
>
> > 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.
$self->formbuilder
Thanx. In the same section it uses
[% form.render %] for the tt2. template that should read
[% FormBuilder.render %]
Dp.
_______________________________________________
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/