[Pharo-users] Boostrap for seaside : incorrect JQuery version

Johan Brichau johan at inceptive.be
Tue Feb 12 13:58:23 EST 2019


For the future, the intention is to decouple the Seaside and Seaside-JQuery projects, so you can easily switch JQuery versions.
However, for now, a version of Seaside comes together with a fixed version of jQuery.

You can, however, easily switch jQuery versions yourself by replacing the jQuery st code in the JQDeploymentLibrary/JQDevelopmentLibrary or by creating another WAFileLibrary subclass and loading that one in your application. The Seaside binding for jQuery (i.e. the JQueryInstance class) will not correspond 100% with the version of jQuery that you use, but the differences will be small.

cheers
Johan

Ps: use the seaside mailinglist for seaside questions ;)

> On 11 Feb 2019, at 22:50, Tomaž Turk <tomaz.turk at ef.uni-lj.si> wrote:
> 
> I'm sorry, I should be more clear - I copy&pasted the Bootstrap 3.3.7 code from here <https://getbootstrap.com/docs/3.3/getting-started/#download>, since 3.3.7 solved the issue I mentioned. The result is that mouse clicks behave as they should, and there is no error on browser's console anymore.
> 
> Tomaz
> 
>> 
>> 
>> ------ Original Message ------
>>> From: "sergio ruiz" <sergio.rrd at gmail.com <mailto:sergio.rrd at gmail.com>>
>>> To: "Any question about pharo is welcome" <pharo-users at lists.pharo.org <mailto:pharo-users at lists.pharo.org>>
>>> Sent: 8. 02. 2019 21:22:39
>>> Subject: Re: [Pharo-users] Boostrap for seaside : incorrect JQuery version
>>> 
>>>> Just for the record, I am having the same problem..
>>>> 
>>>> 
>>>> On February 8, 2019 at 3:20:18 PM, Dominique Dartois (dom at dartois.org <mailto:dom at dartois.org>) wrote:
>>>> 
>>>>> Hi all
>>>>> I installed seaside + Bootstrap from the « Catalog Browser », following the tips at http://smalltalkhub.com/#!/~TorstenBergmann/ <http://smalltalkhub.com/#!/~TorstenBergmann/>
>>>>> I run Pharo 7 64bits on MacOS.
>>>>> The demo doesn’t react to the mouse clicks. In fact Firefox debugger showed an incompatibility between Bootstrap and JQuery versions :

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/attachments/20190212/0617f654/attachment.html>


More information about the Pharo-users mailing list