Damn, I'm so stupid!!!
Regards, Marcin Okraszewski
It is even more interesting!! When I do fallowing:
<map:match type="request" pattern="continuation-id"> <map:redirect-to uri="{1}.continue"/> </map:match>
It does continue, but unfortunately request parameters are lost !!!
Unfortunately it also doesn't work with:
<map:match type="request" pattern="continuation-id"> <map:generate src="cocoon://{1}.continue"/> <map:serialize/> </map:match>
where it also stalls the request :-(
Regards, Marcin Okraszewski
Hi,
I want to pass continuation ID as a hidden parameter. So I did fallowing form:
<wt:form-template action="" method="POST"> <wt:continuation-id/> ... </wt:form-template>
in output <wt:continuation-id> is converted to <input value="<some number>" type="hidden" name="continuation-id"/>
In sitemap I've inserted fallowing matching (as a first rule):
<map:match type="request" pattern="continuation-id"> <map:call continuation="{1}"/> </map:match>
It looks, it should work fine, but it isn't!! When I want to perform any action, my browser is loading page, and loading, and loading ...
Notice two things:
- the rule works, because I tried <map:redirect-to uri="{1}"/> and it ends with error that there is no resource which name is exactly the id of continuation
- when I put in form template "action='#{$continuation/id}.continue'" it works with with fallowing matcher:
<map:match pattern="*.continue">
<map:call continuation="{1}"/>
</map:match>
Any ideas what is wrong ??? I'm using Cocoon 2.1.4 dev.
Thank you in advance for your help! Marcin Okraszewski
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
