cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "manish tiwari" <mktiwar...@gmail.com>
Subject Re: continuation id as hidden request parameter (was: pop list)
Date Fri, 13 Apr 2007 08:50:36 GMT
thank you



On 4/12/07, Joerg Heinicke <joerg.heinicke@gmx.de> wrote:
>
> 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: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>

Mime
View raw message