[Rife-users] How to check if the current element is part of a continuation
Hello, Does anyone know how to check if the current element is being processed as part of a continuation? I have a login element that either calls answer() or display a content block, depending on whether it was called with call() or accessed directly. In order to do that, it needs to know whether it is being called as part of a continuation or not. I suspect the solution lies in checking some properties of the active context (ContinuationContext.getActiveContext()), but I cannot seem to put my finger on it. Any ideas? Thanks, Eddy ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users
Re: [Rife-users] How to check if the current element is part of a continuation
Quoting Geert Bevin [EMAIL PROTECTED]: Hi Eddy, this should help: http://rifers.org/docs/api/com/uwyn/rife/engine/ElementSupport.html#getContinuationId() Take care, Geert Thanks for the quick reply, Geert. I'm not sure that the continuation id will be a good indication, as every request is technically part of a continuation. So, it will always appear as though the login element is executing as a continuation step. Would it be possible to have a sketch of what a continuation tree looks like? I think that would clarify a lot of things. No pressure, though. I know you're a busy man :-) Eddy ___ Rife-users mailing list Rife-users@uwyn.com http://lists.uwyn.com/mailman/listinfo/rife-users