[Seaside] Broken code in latest Seaside. JQLoad does not support 'success'

John Toohey jt at parspro.com
Sun Sep 11 23:47:07 UTC 2011


JQLoad only supports 'complete' as can be seen from the #isSupported
method. However, it also has a #onSuccess method. I guess that method
should be removed, as it only fails at runtime. I have the latest SS
build from Jenkins, so this may be transitional code.

On Fri, Sep 9, 2011 at 12:50, John Toohey <jt at parspro.com> wrote:
> onSuccess is what I have, and now that throws the error from JQLoad
>
> On Fri, Sep 9, 2011 at 12:16, Nick Ager <nick.ager at gmail.com> wrote:
>> http://forum.world.st/The-option-complete-is-not-supported-in-JQLoad-td3518358.html
>>
>> On 9 September 2011 17:07, Robert Sirois <watchlala at hotmail.com> wrote:
>>>
>>> I think it was changed to complete.
>>>
>>> RS
>>>
>>> > Date: Fri, 9 Sep 2011 12:03:39 -0400
>>> > From: jt at parspro.com
>>> > To: seaside at lists.squeakfoundation.org
>>> > Subject: [Seaside] Broken code in latest Seaside. JQLoad does not
>>> > support 'success'
>>> >
>>> > Hi,
>>> >
>>> > I have the following in one of my apps :-
>>> >
>>> > html div class: self cssClass; with:[
>>> > html table
>>> > id: self tableID;
>>> > script: (html jQuery this
>>> > bind: 'julietrefresh' do: (html jQuery this load html: [:h |
>>> > self renderTable: h];
>>> > onSuccess: (html jQuery this call: self refreshScript)
>>> > ));
>>> > with:[
>>> > self renderTable: html
>>> > ]
>>> > ]
>>> >
>>> > I've just installed the latest SS into a 1.3 image, but this code
>>> > break. The debugger reports that JQLoad does not support the option
>>> > 'success'. Does anyone know how this code should be rewritten to
>>> > support the latest build?
>>> >
>>> > --
>>> > ~JT
>>> > _______________________________________________
>>> > 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
>>>
>>
>>
>> _______________________________________________
>> seaside mailing list
>> seaside at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>>
>
>
>
> --
> ~JT
>



-- 
~JT


More information about the seaside mailing list