Hmm, makes sense.

One thing that could work is to obtain the active continuation context : ContinuationContext.getActiveContext()

Then you can call getContinuable() (which is the element, actually) and see if it corresponds to the current one.

On 19 May 2007, at 15:51, Eddy Young wrote:

Yes, it does.

In the FORM, there is a hidden input called "contid". Maybe it happens only when there is a FORM element?

Eddy

On 18 May 2007, at 17:40, Geert Bevin wrote:

Hmm, I'll have to trace this. It doesn't create a continuation, but it might pickup the one that is active from the call element. Are you sure that when you run the element with the answer method directly, that getContinuationId gives you a result?

On 18 May 2007, at 18:15, Eddy Young wrote:

Quoting Geert Bevin <[EMAIL PROTECTED]>:

Continuations are only active for elements that use
continuations-related calls like pause(), call() and stepback().  A
continuation ID will only be available for those elements that have
these methods. Answer doesn't cause a continuation to be created, I
think.

Hmmm... "answer()" appears to be creating a continuation. At least, with the latest 1.6 snapshot.

--
Geert Bevin
Terracotta - http://www.terracotta.org
Uwyn "Use what you need" - http://uwyn.com
RIFE Java application framework - http://rifers.org
Music and words - http://gbevin.com


_______________________________________________
Rife-users mailing list
Rife-users@uwyn.com
http://lists.uwyn.com/mailman/listinfo/rife-users

Reply via email to