[interchange-docs] xmldocs - racke modified refs/FormAction

docs at icdevgroup.org docs at icdevgroup.org
Tue Aug 5 12:27:29 UTC 2008


User:      racke
Date:      2008-08-05 12:27:29 GMT
Modified:  refs     FormAction
Log:
replace with a more useful example

Revision  Changes    Path
1.4                  xmldocs/refs/FormAction


rev 1.4, prev_rev 1.3
Index: FormAction
===================================================================
RCS file: /var/cvs/xmldocs/refs/FormAction,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- FormAction	15 Jul 2008 13:04:31 -0000	1.3
+++ FormAction	5 Aug 2008 12:27:29 -0000	1.4
@@ -23,11 +23,14 @@
 <literal>refresh</literal>. 
 __END__
 
-__NAME__ example: Very basic form action definition
+__NAME__ example: Checkout Action
+This action can be used on the shopping cart page to update the cart
+and go to the checkout page with an image button.
 <programlisting><![CDATA[
-FormAction foo <<EOR
+FormAction checkout <<EOR
 sub {
-    $CGI->{mv_nextpage} = 'bar';
+    $Tag->update('quantity');
+    $CGI->{mv_nextpage} = 'checkout';
     return 1;
 }
 EOR







More information about the docs mailing list