You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Ben Anderson <be...@gmail.com> on 2004/12/17 18:14:52 UTC
Hi,
I'm trying to use the <ft:continuation-id/> which seems to be working
fine, but what I don't understand is the sitemap part. For instance I
had been using this:
<map:match pattern="forms/task/*.continue">
<map:call continuation="{1}"/>
</map:match>
which was cool when the url contained the continuation-id, but now I
want it as a hidden field in a post. How might I catch that in the
sitemap?
Thanks,
Ben
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re:
Posted by Ben Anderson <be...@gmail.com>.
even better - thanks!
> <map:match type="request-parameter" pattern="continuation-id">
> <map:call continuation="{1}"/>
> </map:match>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re:
Posted by Jorg Heymans <jh...@domek.be>.
Ben Anderson wrote:
> found it in the examples. its easy enough.
>
> <map:select type="request-method">
> <map:when test="POST">
> <map:call continuation="{request-param:continuation-id}"/>
> ...
>
as an alternative you could also use a request parameter matcher
<map:match type="request-parameter" pattern="continuation-id">
<map:call continuation="{1}"/>
</map:match>
Jorg
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org
Re:
Posted by Ben Anderson <be...@gmail.com>.
found it in the examples. its easy enough.
<map:select type="request-method">
<map:when test="POST">
<map:call continuation="{request-param:continuation-id}"/>
...
On Fri, 17 Dec 2004 12:14:52 -0500, Ben Anderson
<be...@gmail.com> wrote:
> Hi,
> I'm trying to use the <ft:continuation-id/> which seems to be working
> fine, but what I don't understand is the sitemap part. For instance I
> had been using this:
>
> <map:match pattern="forms/task/*.continue">
> <map:call continuation="{1}"/>
> </map:match>
>
> which was cool when the url contained the continuation-id, but now I
> want it as a hidden field in a post. How might I catch that in the
> sitemap?
>
> Thanks,
> Ben
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org