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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

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

John Toohey
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
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

RE: Broken code in latest Seaside. JQLoad does not support 'success'

Robert Sirois
I think it was changed to complete.

RS

> Date: Fri, 9 Sep 2011 12:03:39 -0400
> From: jt@parspro.com
> To: seaside@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@lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Broken code in latest Seaside. JQLoad does not support 'success'

Nick
http://forum.world.st/The-option-complete-is-not-supported-in-JQLoad-td3518358.html

On 9 September 2011 17:07, Robert Sirois <[hidden email]> wrote:
I think it was changed to complete.

RS

> Date: Fri, 9 Sep 2011 12:03:39 -0400
> From: [hidden email]
> To: [hidden email]
> 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
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside

_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Broken code in latest Seaside. JQLoad does not support 'success'

John Toohey
onSuccess is what I have, and now that throws the error from JQLoad

On Fri, Sep 9, 2011 at 12:16, Nick Ager <[hidden email]> wrote:

> http://forum.world.st/The-option-complete-is-not-supported-in-JQLoad-td3518358.html
>
> On 9 September 2011 17:07, Robert Sirois <[hidden email]> wrote:
>>
>> I think it was changed to complete.
>>
>> RS
>>
>> > Date: Fri, 9 Sep 2011 12:03:39 -0400
>> > From: [hidden email]
>> > To: [hidden email]
>> > 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
>> > [hidden email]
>> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>> _______________________________________________
>> seaside mailing list
>> [hidden email]
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>
>
> _______________________________________________
> seaside mailing list
> [hidden email]
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>
>



--
~JT
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
Reply | Threaded
Open this post in threaded view
|

Re: Broken code in latest Seaside. JQLoad does not support 'success'

John Toohey
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 <[hidden email]> wrote:

> onSuccess is what I have, and now that throws the error from JQLoad
>
> On Fri, Sep 9, 2011 at 12:16, Nick Ager <[hidden email]> wrote:
>> http://forum.world.st/The-option-complete-is-not-supported-in-JQLoad-td3518358.html
>>
>> On 9 September 2011 17:07, Robert Sirois <[hidden email]> wrote:
>>>
>>> I think it was changed to complete.
>>>
>>> RS
>>>
>>> > Date: Fri, 9 Sep 2011 12:03:39 -0400
>>> > From: [hidden email]
>>> > To: [hidden email]
>>> > 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
>>> > [hidden email]
>>> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>
>>> _______________________________________________
>>> seaside mailing list
>>> [hidden email]
>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>>
>>
>>
>> _______________________________________________
>> seaside mailing list
>> [hidden email]
>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>>
>>
>
>
>
> --
> ~JT
>



--
~JT
_______________________________________________
seaside mailing list
[hidden email]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside