You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Oliver Schalch <ol...@wyona.com> on 2006/03/31 00:06:36 UTC

Issues with Continuation ID in JX Templates

Hi Devs, 

I have some strange Problems with the Continuation ID while I'm
developing a little module for Lenya:

My main JX Template does not much at this moment, just showing some
stuff, there i have the magic hidden value:

<form id="form-testing">
<input type="hidden" name="lenya.continuation"
value="${continuation.id}"/> <input type="hidden" name="lenya.usecase"
value="admin.runselected"/> 

someblabla

<input type="submit" name="Run" value="Run" />
</form>


Now to the strange problem, as long I have included the continuation ID
and press the button to the next jx, it just refreshs the current page
puts the lenya.continuation=xxx in the URL and *just* stays on the same
screen. But if I remove fully the lenya.continuation from the jx (or
just the URL) I come to the next jx view (runselected).

Any idea where something goes wrong?

Thanks,
Oliver




-- 
Oliver Schalch                           oliver.schalch@wyona.com
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org


Re: Issues with Continuation ID in JX Templates

Posted by Andreas Hartmann <an...@apache.org>.
Oliver Schalch wrote:
> Hi Devs, 
> 
> I have some strange Problems with the Continuation ID while I'm
> developing a little module for Lenya:
> 
> My main JX Template does not much at this moment, just showing some
> stuff, there i have the magic hidden value:
> 
> <form id="form-testing">
> <input type="hidden" name="lenya.continuation"
> value="${continuation.id}"/> <input type="hidden" name="lenya.usecase"
> value="admin.runselected"/> 

The usecase name "runselected" suggests that you want to run
something after showing a confirmation screen. Is this correct?


> someblabla
> 
> <input type="submit" name="Run" value="Run" />
> </form>
> 
> 
> Now to the strange problem, as long I have included the continuation ID
> and press the button to the next jx, it just refreshs the current page
> puts the lenya.continuation=xxx in the URL and *just* stays on the same
> screen. But if I remove fully the lenya.continuation from the jx (or
> just the URL) I come to the next jx view (runselected).

The continuation ID is used to continue the current flow after
presenting a page to the user (see Cocoon Flow documentation).
The following actions are executed by the same usecase handler object.

-- Andreas


-- 
Andreas Hartmann
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
andreas.hartmann@wyona.com                     andreas@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
For additional commands, e-mail: dev-help@lenya.apache.org