Thanks, at least the runtime exception is gone, but instead of the expected form I can see only a header line containing "Edit a person". Is it possible to get a working tarball of this application? the publishers web page offers only code snippets in .doc files!!! | [reply] |
Could you put your up-to-date errata file up on your own site until the publisher gets around to making it available from theirs?
| [reply] |
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. | [reply] |
Great - I have had a typo in /root/src/person.tt2:
Formbuilder.render instead of
FormBuilder.render
now the FormBuilder does his job!...
| [reply] |
as [% Formbuilder.render %] is wrong - is there a way check an eventual error message of "Template::Toolkit" within the Catalyst framework?
| [reply] [d/l] |
I got the same problem. Thanks for the answer | [reply] |