2008/9/15 Dermot <[EMAIL PROTECTED]>: > Hi, > > I have been using FormFu in a Catyalst environment and suspect I might > be using the correct wrong modules. > > I am using DBIx::Class and have a schema for users. > > I have been using > > > use base qw(Catalyst::Controller::HTML::FormFu); > ... > .. > sub edit : Local :FormConfig('users/edit.yml') { > my ($self, $c, $id) = @_; > my $user = $c->model('MotionDB::Users')->update_or_create($id); > if ($form->submitted_and_valid) { > $form->model->update($user); > } > .. > .. > } > > I know there are issues with the above because I was in the process of > correcting them but what I am confused about is should I be using > Catalyst::Controller::HTML::FormFu or Catalyst::Model::FormFu
I've only ever used Catalyst-Controller-HTML-FormFu, so I can't really comment on Catalyst-Model-FormFu. > They seems to behave quite differently and the above gives me a > serious error when I start up the app. > > Can someone give me some guidance? What error messages do you get? Carl _______________________________________________ HTML-FormFu mailing list HTML-FormFu@lists.scsys.co.uk http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu