[Seaside] Surprised at callback/livecallback on multiselect
Michel Bany
michel.bany at gmail.com
Wed Feb 27 09:56:50 UTC 2008
I'm confused because in both #renderAnchorOn: and #renderButtonOn:
the method comments are right and the callback block is never evaluated.
On the other hand, the callback blocks in #renderCheckBoxOn:
#renderInput1On: #renderInput2On: and #renderMultiSelectOn: would
indeed be evaluated if the forms were submitted (and a way to submit
the forms was coded in those methods), but there are no comments in
those methods that pretend otherwise. In #renderDateInputOn:
#renderListOn: #renderRadioOn: and #renderTimeInputOn:, the callback
block would also be evaluated if one were supplied and the form were
submitted.
To summarize: when there is a liveCallback block, the callback block
is only disabled for anchors and buttons.
HTH
Michel.
On Feb 27, 2008, at 2:49 AM, Steve Aldred wrote:
> Michel Bany wrote:
>> But what did you expect exactly?
>
> For someone exploring things the comments in WAAsyncLiveTest
> #renderButtonOn: and #renderAnchorOn: imply the callback block
> won't be invoked. So being influenced by those comments I was
> surprised when the form was submitted they were invoked after the
> liveCallback had already fired.
>
> As I said what it does probably makes sense. I was just creating an
> informational post for those trying to learn Seaside.
>
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
renderCheckBoxOn:
More information about the seaside
mailing list