I used the method described here to install Seaside3 on Pharo. All is well, but Scriptaculous doesn't come preinstalled. How do I get it?
Seaside3 : 1: Go to the configuration manager 2: Select the Seaside 3 configuration. Click on Install. 3: Wait while it loads. Takes a couple of minutes on an i7 and a decent network link. 4: Open a Workspace and start a ZincServerAdaptor on the port you like (here 8080): ZnZincServerAdaptor startOn: 8080. (then CMD+d for Do It) 7: Access Seaside from your browser. 8: Install Scriptaculous, but how? |
Hi Mircea,
Pharo’s Configuration browser loads the default group of the Metacello configuration, which unfortunately was set to ‘Core’ for Seaside 3.1. So, you will need to load additional groups programmatically: (ConfigurationOfSeaside3 project version: #stable) load: #(‘Scriptaculous’ ‘JSON’) If you want to get the list of possible groups to load, inspect: (ConfigurationOfSeaside3 project version: #stable) groups This is something we fixed for Seaside 3.2, where the default will load everything to help newcomers. We prefer not to change the existing 3.1 configuration versions to not break existing uses, but it’s fixed in the upcoming version. Btw, Scriptaculous is really outdated. You will prefer to use jQuery and jQuery-UI (or any other JS framework…) cheers Johan > On 31 Jan 2015, at 15:01, Mircea S. <[hidden email]> wrote: > > I used the method described here to install Seaside3 on Pharo. All is well, but Scriptaculous doesn't come preinstalled. How do I get it? > > Seaside3 : > > 1: Go to the configuration manager > > 2: Select the Seaside 3 configuration. Click on Install. > > 3: Wait while it loads. Takes a couple of minutes on an i7 and a decent network link. > > 4: Open a Workspace and start a ZincServerAdaptor on the port you like (here 8080): ZnZincServerAdaptor startOn: 8080. (then CMD+d for Do It) > > 7: Access Seaside from your browser. > > 8: Install Scriptaculous, but how? |
Well, I undertook a hands-on approach and finally figured it out. Mainly because I was following the Seaside book and the chapter on Scriptaculous. The packages needed for Scriptaculous to work are listed in the book here: http://book.seaside.st/book/web-20/scriptaculous/frameworks/installation Then you need to find a repository to get them from, after a little poking around here: http://www.smalltalkhub.com/mc/Seaside/ I chose the Seaside31 repository, which is what I apparently managed to install a few hours ago. http://www.smalltalkhub.com/mc/Seaside/Seaside31/main Then I had to Do-It a couple of times on (maybe there is a faster way to do this):
Gofer new
url:'http://www.smalltalkhub.com/mc/Seaside/Seaside31/main';
package: 'Scriptaculous-Core';
load.
|
In reply to this post by Johan Brichau-2
For those looking to install jQuery into Seaside can use these:
|
You _can_ use Gofer to load individual packages, but the point of the Metacello configuration is that it will install the dependencies for you.
So, it’s not a good idea to load them individually, unless you want to end up missing some prerequisite packages. Johan
|
Free forum by Nabble | Edit this page |