Problem with continuations/flow.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Problem with continuations/flow.

Tobias Pape
Hi.


Calling the following:

testCC

        self inform: 'A'.  
        self wait: [ :cc |
                self inform: 'B: ', ( self session actionUrlForContinuation: cc).
                self answer].
        self inform: 'C'.
        self answer.  
       

allways results in an error:

Error: This block accepts 1 argument, but was called with 0 arguments.

In WASession>>handleFiltered:

handleFiltered: aRequestContext
        | key continuation |
        key := aRequestContext request fields
                at: self actionField
                ifAbsent: [ ^ self start ].
               
        continuation := continuations
                at: key
                ifAbsent: [ ^ self unknownRequest ].
        continuation value

at the last line.
Continuation is
        outerContext: GRPharoPlatform>>seasideSuspendFlowDo: startpc: 54 numArgs: 1


So Long,
        -Tobias

_______________________________________________
seaside-dev mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev