[Catalyst] FormBuilder not working

abhishek jain abhishek.netjain at gmail.com
Sat Sep 20 07:31:49 BST 2008


Hello Friends,I am new to Catalyst and need to implement FormBuilder.
What i am doing is:
a template called root/src/search2.tt2 with the following content;

[% META title =3D "Edit a person" %]
[% FormBuilder.render %]

a form script on root/forms/search.db

in controller i have the following function

sub search2 : Local Form {
        my ( $self, $c ) =3D @_;
        $c->stash->{template} =3D 'project/search2.tt2';
}

Do I need to do anything extra, i can get a page but without the form.
Pl.help.
-- =

Thanks and kind Regards,
Abhishek jain
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20080920/e9d80=
ca8/attachment.htm


More information about the Catalyst mailing list