[Seaside-dev] Using jQuery UI elements with Comet?
Nikolay Suslov
nsuslovi at gmail.com
Mon Jul 13 13:08:43 UTC 2009
That is especially I need it for:
http://nsuslovi.blogspot.com/2009/07/seaside-29-and-comet-to-control.html
Regards,
Nikolay
On Sun, Jul 12, 2009 at 10:38 PM, Nikolay Suslov <nsuslovi at gmail.com> wrote:
> Lukas,
>
> Thanks a lot!
> Yes, now it works as expected.
>
> Regards,
> Nikolay
>
> On Sun, Jul 12, 2009 at 7:52 PM, Lukas Renggli <renggli at gmail.com> wrote:
>
>> > It is possible to use jQuery slider (or other UI elements) with Comet?
>>
>> Yes. The Comet facilities of Seaside should be useable with any
>> Javascript library.
>>
>> > So, I take the Comet CTCounter example as the base, and there:
>> > 1. Create the slider:
>>
>> That's a cool example. I've added it to Comet-Examples and attached a
>> file-out to this mail.
>>
>> > self pusher javascript: [ :script |
>> > script << (script jQuery: #count)
>> > text: self model count.
>> >
>> > script << (script jQuery: #slider) slider value: self model count.
>> > "???"
>> > "or script << (script jQuery: #slider) triggerChange "
>> > ].
>> >
>> > But, it dose not work.
>>
>> The problem is that the Slider object in Seaside misses the method to
>> set the slider value after it has been instantiated. You can work
>> around that by sending the message
>>
>> aSlider action: 'value' arguments: (Array with: value)
>>
>> I will add a helper to JQuery-UI.
>>
>> Cheers,
>> Lukas
>>
>> --
>> Lukas Renggli
>> http://www.lukas-renggli.ch
>>
>> _______________________________________________
>> seaside-dev mailing list
>> seaside-dev at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/seaside-dev/attachments/20090713/7ced73a4/attachment.htm
More information about the seaside-dev
mailing list