[Seaside] Zinc Callback Limit

Philippe Marschall philippe.marschall at gmail.com
Mon May 14 19:32:58 UTC 2012


On Mon, May 14, 2012 at 9:22 PM, Mark Smith
<mark.smith at objectbynature.com> wrote:
> Hi all,
>
> I realise that this might not be typical usage however I have an application with a lot of checkboxes, well over 100, and have run into a small problem using the ZnZincServerAdaptor. When the form is submitted, by clicking the submit button, the final callback isn't executed, and the server appears to drop the connection.
>
> The following reliably replicates the issue –
>
> renderContentOn: html
>        html form: [
>                (1 to: 256) do: [ :aNumber |
>                        html checkbox
>                                callback: [ :aValue | ].
>                        html
>                                space;
>                                text: 'checkbox', aNumber asString;
>                                break ].
>                html submitButton
>                        callback: [
>                                self inform: 'clicked' ];
>                        value: 'click' ]
>
> Although the exact number of fields/callbacks needed seems to vary. I arrived at 256 by a binary search.
>
> Unfortunately that's as far as I've got :).
>
> Does anyone have any suggestions?

Can you check out

http://127.0.0.1:8080/tests/functional/WALotsaLinksFunctionalTest

Cheers
Philippe


More information about the seaside mailing list