in reply to Re: catalyst book rockway
in thread catalyst book rockway

THANKS for this reply. I got the same error: error Caught exception in AddressBook::Controller::Person->edit "Can't locate object method "form" via package "AddressBook" at ... --- in all cases I replaced: $c->form to $self->formbuilder and form.render to FormBuilder.render (in the TT templates) --- now the chapter-3 example from the Rockway catalyst book is running fine... Ulf.

Replies are listed 'Best First'.
Re^3: catalyst book rockway
by wkittekat (Initiate) on Jan 22, 2008 at 22:12 UTC
    Great - I have had a typo in /root/src/person.tt2:
    Formbuilder.render instead of
    FormBuilder.render
    now the FormBuilder does his job!...
      as [% Formbuilder.render %] is wrong - is there a way check an eventual error message of "Template::Toolkit" within the Catalyst framework?