[interchange-docs] [SCM] Interchange XML documentation branch, master, updated. e5290e42d904361d14e5978522e948f09066a659

Stefan Hornburg interchange-cvs at icdevgroup.org
Tue Apr 20 10:59:03 UTC 2010


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Interchange XML documentation".

The branch, master has been updated
       via  e5290e42d904361d14e5978522e948f09066a659 (commit)
      from  59c5be688dc8afdcbff6883b2726ea965b41a10f (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit e5290e42d904361d14e5978522e948f09066a659
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date:   Tue Apr 20 12:57:19 2010 +0200

    Improved description of load and save hooks, including recent addition of redirect flag.

-----------------------------------------------------------------------

Summary of changes and diff:
 guides/wellwell.xml |   17 ++++++++++++++---
 1 files changed, 14 insertions(+), 3 deletions(-)

diff --git a/guides/wellwell.xml b/guides/wellwell.xml
index 92f916f..9572328 100644
--- a/guides/wellwell.xml
+++ b/guides/wellwell.xml
@@ -659,11 +659,12 @@ wellwell=> select * from form_attributes where component = 'content_edit';
 		a form part. It is not
 		called if the profile check for the form part has failed.
 		The return value of the load hook is either a false value or
-		a hash reference which can contain the following members:
+		a hash reference where the following members are recognized:
 		</para>
 		<itemizedlist>
 			<listitem><para>
-				page  &mdash; triggers a bounce to that page instead of displaying the form
+				page  &mdash; loads the specified page through the
+<literal>$CGI->{mv_nextpage}</literal> mechanism
 			</para></listitem>
 			<listitem><para>
 				attributes  &mdash; hash reference providing defaults for form attributes
@@ -672,8 +673,18 @@ wellwell=> select * from form_attributes where component = 'content_edit';
 
 			<para>
 		<emphasis role='bold'>The save hook</emphasis> is called if the form part has
-		been successfully submitted (e.g. profile check successful).
+		been successfully submitted (e.g. profile check successful). The return value of the load hook is either a false value or
+		a hash reference where the following members are recognized:
 			</para>
+	  	<itemizedlist>
+			<listitem><para>
+				page  &mdash; loads the specified page through the
+<literal>$CGI->{mv_nextpage}</literal> mechanism
+			</para></listitem>
+			<listitem><para>
+				redirect &mdash; redirects to the specified page if true
+			</para></listitem>
+		</itemizedlist>
 		</section>	
 
 		<section>


hooks/post-receive
-- 
Interchange XML documentation



More information about the docs mailing list