Author: sylvain Date: Fri Jan 14 09:47:48 2005 New Revision: 125191 URL: http://svn.apache.org/viewcvs?view=rev&rev=125191 Log: pass continuation as request parameter, to check bug #33083 Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/registration_template.xml cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/sitemap.xmap
Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/registration_template.xml Url: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/registration_template.xml?view=diff&rev=125191&p1=cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/registration_template.xml&r1=125190&p2=cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/registration_template.xml&r2=125191 ============================================================================== --- cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/registration_template.xml (original) +++ cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/forms/registration_template.xml Fri Jan 14 09:47:48 2005 @@ -18,7 +18,8 @@ xmlns:fi="http://apache.org/cocoon/forms/1.0#instance"> <title>Registration</title> <content> - <ft:form-template action="#{$continuation/id}.continue" method="POST"> + <ft:form-template action="continue" method="POST"> + <ft:continuation-id/> <fi:group> <fi:styling layout="columns"/> <fi:items> Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/sitemap.xmap Url: http://svn.apache.org/viewcvs/cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/sitemap.xmap?view=diff&rev=125191&p1=cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/sitemap.xmap&r1=125190&p2=cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/sitemap.xmap&r2=125191 ============================================================================== --- cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/sitemap.xmap (original) +++ cocoon/branches/BRANCH_2_1_X/src/blocks/forms/samples/sitemap.xmap Fri Jan 14 09:47:48 2005 @@ -153,12 +153,27 @@ </map:call> </map:match> + <!-- + | Start a flow scenario + --> <map:match pattern="do-*.flow"> <map:call function="do_{1}"/> </map:match> - + + <!-- + | Continue a scenario, continuation id is in the URL + | (used in links or form actions) + --> <map:match pattern="*.continue"> <map:call continuation="{1}"/> + </map:match> + + <!-- + | Continue a scenario, continuation id is in a hidden input + | (used in form posts) + --> + <map:match pattern="continue"> + <map:call continuation="{request-param:continuation-id}"/> </map:match> <!--