X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2F09_AdvancedCRUD%2F09_FormFu.pod;h=113720f33ecac46f4ef193ae4548c99e2991e406;hp=68f40917b2604760a14cb6bcada3d3fdc3c36192;hb=2314f8518aa84c883ff69eb56038a09f42477c8e;hpb=0abc72edf5636d7f700793f5b700180428102feb diff --git a/lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD/09_FormFu.pod b/lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD/09_FormFu.pod index 68f4091..113720f 100644 --- a/lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD/09_FormFu.pod +++ b/lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD/09_FormFu.pod @@ -59,7 +59,7 @@ L This portion of the tutorial explores L and how it can be used to manage forms, perform validation of form input, as well as save and restore data to/from the database. This was written -using HTML::FormFu version 0.03007. +using HTML::FormFu version 0.05001. See L @@ -67,30 +67,6 @@ for additional form management options other than L. -=head1 Install HTML::FormFu - -If you are following along in Debian 5, it turns out that some of the -modules we need are not yet available as Debian packages at the time -this was written. To install it with a combination of Debian packages -and traditional CPAN modules, first use C to install most of -the modules: - -we need to install the -L package: - - sudo aptitude -y install libhtml-formfu-perl libmoose-perl \ - libregexp-assemble-perl libhtml-formfu-model-dbic-perl - - ... - - sudo aptitude clean - -Then use the following command to install directly from CPAN the modules -that aren't available as Debian packages: - - sudo cpan Catalyst::Component::InstancePerContext Catalyst::Controller::HTML::FormFu - - =head1 HTML::FormFu FORM CREATION This section looks at how L can be used to @@ -272,9 +248,9 @@ Login as C (password: mypass). Once at the Book List page, click the new HTML::FormFu "Create" link at the bottom to display the form. Fill in the following values: - Title = "Internetworking with TCP/IP Vol. II" - Rating = "4" - Author = "Comer" +Title: Internetworking with TCP/IP Vol. II +Rating: 4 +Author: Comer Click the Submit button, and you will be returned to the Book List page with a "Book created" status message displayed. @@ -526,7 +502,7 @@ We use C<$id> to look up the existing book from the database. We make sure the book lookup returned a valid book. If not, we set the error message and return to the book list. - + =item * If the form has been submitted and passes validation, we skip creating a