[Seaside] Problem with continuations/flow.

Tobias Pape Das.Linux at gmx.de
Fri May 20 07:49:10 UTC 2011


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



More information about the seaside mailing list