Hi all I installed seaside + Bootstrap from the « Catalog Browser », following the tips at 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 : The JQuery Pharo library is 3.3.1 : Is it possible to correct this just by using an older library of JQuery (if I can find one)? Thank you --- Dominique Dartois
Just for the record, I am having the same problem.. On February 8, 2019 at 3:20:18 PM, Dominique Dartois (dom@dartois.org) wrote: Hi all I installed seaside + Bootstrap from the « Catalog Browser », following the tips at 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 : The JQuery Pharo library is 3.3.1 : Is it possible to correct this just by using an older library of JQuery (if I can find one)? Thank you --- Dominique Dartois ---- peace, sergio photographer, journalist, visionary Public Key: http://bit.ly/29z9fG0 #BitMessage BM-NBaswViL21xqgg9STRJjaJaUoyiNe2dV http://www.codeandmusic.com http://www.twitter.com/sergio_101 http://www.facebook.com/sergio101
It's happening to me, too, on Pharo 7.0 32-bit on Windows. The versions in respective deployment libraries are: JQDeploymentLibrary>>jQueryJs jQuery v3.3.1 JQUiDeploymentLibrary>>jQueryUiJs jQuery UI - v1.12.1 - 2016-09-14 TBSDeploymentLibrary>>jsbootstrapminJsContent Bootstrap v3.3.6 Strangely, the browser console reports: Best wishes, Tomaz ------ Original Message ------ From: "sergio ruiz" <sergio.rrd@gmail.com> To: "Any question about pharo is welcome" <pharo-users@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@dartois.org) wrote:
Hi all I installed seaside + Bootstrap from the « Catalog Browser », following the tips at 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 :
I found a possible solution. The Bootstrap v3.3.6 had a compatibility issue with jQuery 3.0 (please see this issue <https://github.com/twbs/bootstrap/issues/16834>). I tested a possible workaround with copy & pasting the bootstrap.js code into TBSDevelopmentLibrary>>jsbootstrapJsContent. This method just returns the whole bootstrap.js as a string, IMHO. Important are also methods TBSDevelopmentLibrary>>cssbootstrapCssContent, TBSDevelopmentLibrary>>cssbootstrapthemeCssContent and others, since they include the code from BS v3.3.6. As I see, the TBSDeploymentLibrary differs from TBSDevelopmentLibrary in that it uses minimized versions (i.e. bootstrap.min.js). I'm not sure about other possible dependencies, though. Best wishes, Tomaz ------ Original Message ------
From: "sergio ruiz" <sergio.rrd@gmail.com> To: "Any question about pharo is welcome" <pharo-users@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@dartois.org) wrote:
Hi all I installed seaside + Bootstrap from the « Catalog Browser », following the tips at 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 :
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@gmail.com> To: "Any question about pharo is welcome" <pharo-users@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@dartois.org) wrote:
Hi all I installed seaside + Bootstrap from the « Catalog Browser », following the tips at 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 :
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@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@gmail.com <mailto:sergio.rrd@gmail.com>> To: "Any question about pharo is welcome" <pharo-users@lists.pharo.org <mailto:pharo-users@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@dartois.org <mailto:dom@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 :
Maybe it's just a matter of importing the latest Bootstrap files (v3.3.7) into the the corresponding FileLibrary. Regards, El lun., 11 feb. 2019 a las 18:51, Tomaž Turk (<tomaz.turk@ef.uni-lj.si>) escribió:
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@gmail.com> To: "Any question about pharo is welcome" <pharo-users@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@dartois.org) wrote:
Hi all I installed seaside + Bootstrap from the « Catalog Browser », following the tips at 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 :
This is now solved (https://github.com/astares/Seaside-Bootstrap/issues/9). Best wishes, Tomaz ------ Original Message ------ From: "Esteban Maringolo" <emaringolo@gmail.com> To: "Tomaž Turk" <tomaz.turk@ef.uni-lj.si>; "Any question about pharo is welcome" <pharo-users@lists.pharo.org> Sent: 12.2.2019 20:10:15 Subject: Re: [Pharo-users] Boostrap for seaside : incorrect JQuery version
Maybe it's just a matter of importing the latest Bootstrap files (v3.3.7) into the the corresponding FileLibrary.
Regards,
El lun., 11 feb. 2019 a las 18:51, Tomaž Turk (<tomaz.turk@ef.uni-lj.si>) escribió:
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@gmail.com> To: "Any question about pharo is welcome" <pharo-users@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@dartois.org) wrote:
Hi all I installed seaside + Bootstrap from the « Catalog Browser », following the tips at 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 :
participants (5)
-
Dominique Dartois -
Esteban Maringolo -
Johan Brichau -
sergio ruiz -
Tomaž Turk