Christopher Oliver wrote:

Vadim Gritsenko wrote:

Christopher Oliver wrote:

Why do you need those? I don't see any reason to add them.

Vadim Gritsenko wrote:

Any objections on adding following to the FOM_WebContinuations:

* display



Really useful to debug flow. How else you'd know what you are about to invalidate? :-)


No objections?




Also, one more method is needed:
 * addChild(FOM_WebContinuation)

To answer a question why it is needed: you need it to stitch together different part of the multi-form application, so you can invalidate all of them at once by invalidating the very first, root, continuation.


Vadim


AFAIK, that is already the behavior. If you invalidate the parent, it invalidates all of its children.


Yes, if it has them. But the problem here is that he has got no children. You have to stick all the different web continuations trees generated by showForm calls into the root, and only then you can invalidate them.

Other option is to maintain ArrayList of all continuations, which is not that pretty.

Vadim



Reply via email to