On 12.04.2007 17:59, manish tiwari wrote:
Obtuse URLs (they are of the form: "....[0-9]{20,30}.continue")
Can I hide these in hidden form fields and use normal URLs in cocoon?

Yes, you can and it's quite easy. You have to change 2 things: how you put the continuation id into your page. And how you grab it from the request.

1. http://cocoon.apache.org/2.1/userdocs/publishing/templating.html )end of page)

ft:continuation-id

2. as in the default forms sitemap delivered with the samples

<map:match pattern="continue">
  <map:call continuation="{request-param:continuation-id}"/>
</map:match>

It should also be possible to just check on the existance of continuation-id with a selector or match (http://cocoon.apache.org/2.1/userdocs/concepts/matchers_selectors.html) so that you are completely free in your URLs and don't need "continue" as trigger. Maybe somebody has a sample of that one.

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to