[Seaside] Problem with continuations/flow.

Tobias Pape Das.Linux at gmx.de
Fri May 20 08:03:03 UTC 2011


Am 2011-05-20 um 09:49 schrieb 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:
> 

Ok, this is incorret,
Calling the url generated by ( self session actionUrlForContinuation: cc)
results in the 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 mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



More information about the seaside mailing list