Hi all,
I'm surely missing something in my action:

sub edit : Local Form {
    my ( $self, $c, $id ) = @_;
    my $form = $self->formbuilder();

   ...
    if ( $is_form_ok ){
        ...
        $c->forward( 'list' );
   } else {
     ...
   }
}


The result is that the same page (the form for the edit action) is
always rendered, even if all the business logic works fine.
detach is not working as I'm expecting too, and  only visit appears to
render the list action, but without changing the url.

The development server console provides me the call chain:
/workers/edit
 -> /workers/list
 /end
-> Smickets::View::HTML->process

I'm using TTSite as my view.
What am I missing?

Thanks,
Luca

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

Reply via email to