[Seaside] Problem with continuations/flow.
Tobias Pape
Das.Linux at gmx.de
Tue May 24 05:50:37 UTC 2011
*humble bump*
Am 2011-05-20 um 10:03 schrieb Tobias Pape:
>
> 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
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
More information about the seaside
mailing list