[html-formfu] Catalyst-Controller-FormFu - Form attributes needs process

Zbigniew Lukasiak zzbbyy at gmail.com
Wed Oct 3 10:00:22 GMT 2007


On 10/3/07, Marcus Ramberg <marcus.ramberg at gmail.com> wrote:
> I just noticed that you need to do ->process() after loading your
> config manually with load_config_file and using the :Form attribute.
> Might be worth mentioning this in the docs. Also, there might not be
> much point in doing it in the Form action?

My personal goal is to reach something like the brevity of:

sub edit : Local {
        my ( $self, $c, $id ) = @_;

        $c->post_redirect( 'list', 'Foo was updated' )
            if $c->update_from_from( $id );

}

that Bill described in
http://www.mail-archive.com/catalyst@lists.rawmode.org/msg06361.html

Cheers,
Zbyszek



More information about the HTML-FormFu mailing list