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=732165ae9f80ddbb142700a9d70d865b550cdcc0;hp=3419252c6e2b9bd601f58f865fc5c1e7e5760201;hb=aeaa7db5ec678d87f39c7e27f4c1fc7a95c6af56;hpb=0a2a4a5aba31b24b35d5b4b8dbf2cd0c36a7cb76 diff --git a/lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD/09_FormFu.pod b/lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD/09_FormFu.pod index 3419252..732165a 100644 --- a/lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD/09_FormFu.pod +++ b/lib/Catalyst/Manual/Tutorial/09_AdvancedCRUD/09_FormFu.pod @@ -224,7 +224,8 @@ Open C in your editor and enter the following: [%# Render the HTML::FormFu Form %] [% form %] -

Return to book list

+

Return to book list

=head2 Add Links for Create and Update via C @@ -244,19 +245,18 @@ use to easily launch our HTML::FormFu-based form. =head2 Test The HTML::FormFu Create Form -Press C to kill the previous server instance (if it's still -running) and restart it: +Make sure the server is running with the "-r" restart option: - $ script/myapp_server.pl + $ script/myapp_server.pl -r 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. @@ -407,11 +407,6 @@ for more filter options. =head2 Try Out the Updated Form -Press C to kill the previous server instance (if it's still -running) and restart it: - - $ script/myapp_server.pl - Make sure you are still logged in as C and try adding a book with various errors: title less than 5 characters, non-numeric rating, a rating of 0 or 6, etc. Also try selecting one, two, and zero authors. @@ -544,11 +539,6 @@ existing C link. =head2 Try Out the Edit/Update Feature -Press C to kill the previous server instance (if it's still -running) and restart it: - - $ script/myapp_server.pl - Make sure you are still logged in as C and go to the L URL in your browser. Click the "Edit" link next to "Internetworking with TCP/IP Vol. II", change the