cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone Gianni (JIRA)" <>
Subject [jira] Commented: (COCOON-1819) No support for creation of Bookmarks from JavaFlow
Date Mon, 03 Apr 2006 02:14:43 GMT
    [ ] 

Simone Gianni commented on COCOON-1819:

The first solution (doing everything from inside the Continuation system, not involving JavaInterpreter)
is really hard to work out:
- Continuation has a two step system based on isRestoring and isCapturing
- The ContinuationClassLoader inserts some checks, and if isCapturing = true it captures the
current execution stack.
- Unfortunately it then inserts a return null.
- This means that there seems to be no (easy) way of capturing the stack in the current continuation
and then continue creating a new continuation.

The only way of doing this seems to be adding another boolean, like isBookmarking, and have
the generated bytecode check for this one before inserting a return null .. and I'm afraid
this would only be the first step.

The provided patch simply ignores all this problems, stops the current continuation in the
normal way and then starts it again in the normal way.

> No support for creation of Bookmarks from JavaFlow
> --------------------------------------------------
>          Key: COCOON-1819
>          URL:
>      Project: Cocoon
>         Type: Improvement

>   Components: Blocks: Java Flow
>     Reporter: Harlan Iverson
>  Attachments: javaflow-bookmarks-1.diff
> There is no JavaFlow equivalent of createWebContinuation.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message