[Seaside] Answer Handlers - Multiple?

Esteban A. Maringolo emaringolo at gmail.com
Fri Jun 29 19:37:06 UTC 2018


Hi Sean,

On 29/06/2018 10:49, Sean P. DeNigris wrote:
> IIUC there can only be one answer handler for a component because
> WAAnswerHandler>>#handleAnswer:continueWith: doesn't touch the second
> argument, causing #handleAnswer: to skip the rest of the decorator chain by
> returning true.
> 
> Is that a design decision? It seems like it could be useful to have multiple
> answer handlers…

What would be the use case of such multiple handlers?

I've been doing some pretty complex UI interactions lately, and with the
extend use of AJAX callbacks I'm barely using the call:/answer: pattern.

Regards,

-- 
Esteban A. Maringolo


More information about the seaside mailing list