Hi,
I have a problem with the use of the continuation id.
When I put it in the form-template action="#{$continuation/id}.cont" and in the sitemap as <map:match pattern="*.cont"> it works, but leaves a hideous URL.
Someone on this list suggested to use <wt:continuation-id/> and <map:match type="request-parameter" name="continuation-id"> <map:call continuation="{1}"> </map:match>
When this pipeline is in the top of the sitemap, it works for the first time, but after that, since the request-parameter is still present it is an endless loop. When this pipeline is in the bottom of the sitemap, it never works, because the URL matches first to another pipeline.
So I put a cocoon.request.removeAttribute("continuation-id") in the flowscript just before the last cocoon.sendpage, but this only results in a NullPointerException, since getParameterValue return null for non-existent parameters.
Who has any idea how to solve this?
Bye, Helma
I�ve got the following suggestion. Maybe it helps you too.
Form: <wt:form-template action="application.flow" method="POST">
sitemap: <map:match pattern="application.flow"> <map:select type="request-method"> <map:when test="GET"> <map:call function="woody"> <map:parameter name="function" value="applicationxml"/> <map:parameter name="form-definition" value="forms/application_model.xml"/> <map:parameter name="documentURI" value="forms/application_data.xml"/> <map:parameter name="bindingURI" value="forms/application_bind_xml.xml"/> </map:call> </map:when> <map:when test="POST"> <map:call continuation="{request-param:continuation-id}"/> </map:when> </map:select> <map:serialize type="xml"/> </map:match>
Helmut
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
