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
[EMAIL PROTECTED]                     [EMAIL PROTECTED]


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

Reply via email to