Re: [Pharo-users] Seaside jQuery - Sorting a list with drag and drop and sending it back via Ajax causes OrderedCollection to turn into an Array?
To see a working example of this, take a look at StoryBoard Download the 30 image from https://ci.inria.fr/pharo-contribution/job/StoryBoard/ Start it, open the seaside control panel and start a ZnZincServerAdaptor on port 8080. Open a web browser on http://localhost:8080/story, register yourself, add a project and start adding stories. They can be dragged and dropped. The actual code is in the rendering methods of SBProjectStoryColumn Stephan
Thank you for pointing me in the right direction, the source I was using is the Seaside book at: http://book.seaside.st/book/web-20/jquery/enhanced-todo-application/drag-and... I was using a heavily modified version of that example to figure out how it works. The code on that page is the culprit. Q: A long time ago I remember one could post errata on the bottom page of that Seaside book. This seems to be no longer possible. IS IT POSSIBLE TO EDIT THE SEASIDE BOOK? I've redone all the examples and discovered a lot of improvements, I've written them down so I could edit the book, I've done it before about two years ago when I was doing the examples in the first part, never got this far before. Pe 13 feb. 2015, la 13:27, Stephan Eggermont <stephan@stack.nl> a scris:
To see a working example of this, take a look at StoryBoard
Download the 30 image from https://ci.inria.fr/pharo-contribution/job/StoryBoard/ Start it, open the seaside control panel and start a ZnZincServerAdaptor on port 8080. Open a web browser on http://localhost:8080/story, register yourself, add a project and start adding stories. They can be dragged and dropped.
The actual code is in the rendering methods of SBProjectStoryColumn
Stephan
On Fri, Feb 27, 2015 at 8:46 AM, Mircea S. <mircea@unom.ro> wrote:
Thank you for pointing me in the right direction, the source I was using is the Seaside book at: http://book.seaside.st/book/web-20/jquery/enhanced-todo-application/drag-and...
I was using a heavily modified version of that example to figure out how it works. The code on that page is the culprit.
Q: A long time ago I remember one could post errata on the bottom page of that Seaside book. This seems to be no longer possible. IS IT POSSIBLE TO EDIT THE SEASIDE BOOK? I've redone all the examples and discovered a lot of improvements, I've written them down so I could edit the book, I've done it before about two years ago when I was doing the examples in the first part, never got this far before.
Yes, that would be awesome to have! Phil
Pe 13 feb. 2015, la 13:27, Stephan Eggermont <stephan@stack.nl> a scris:
To see a working example of this, take a look at StoryBoard
Download the 30 image from https://ci.inria.fr/pharo-contribution/job/StoryBoard/ Start it, open the seaside control panel and start a ZnZincServerAdaptor on port 8080. Open a web browser on http://localhost:8080/story, register yourself, add a project and start adding stories. They can be dragged and dropped.
The actual code is in the rendering methods of SBProjectStoryColumn
Stephan
On Fri, Feb 27, 2015 at 8:46 AM, Mircea S. <mircea@unom.ro> wrote:
Thank you for pointing me in the right direction, the source I was using is the Seaside book at: http://book.seaside.st/book/web-20/jquery/enhanced-todo-application/drag-and...
I was using a heavily modified version of that example to figure out how it works. The code on that page is the culprit.
Q: A long time ago I remember one could post errata on the bottom page of that Seaside book. This seems to be no longer possible. IS IT POSSIBLE TO EDIT THE SEASIDE BOOK? I've redone all the examples and discovered a lot of improvements, I've written them down so I could edit the book, I've done it before about two years ago when I was doing the examples in the first part, never got this far before.
You can contribute here: https://github.com/SquareBracketAssociates/DynamicWebDevelopmentWithSeaside -- Serge Stinckwich UCBN & UMI UMMISCO 209 (IRD/UPMC) Every DSL ends up being Smalltalk http://www.doesnotunderstand.org/
On 27 Feb 2015, at 09:45, Serge Stinckwich <serge.stinckwich@gmail.com> wrote:
You can contribute here: https://github.com/SquareBracketAssociates/DynamicWebDevelopmentWithSeaside <https://github.com/SquareBracketAssociates/DynamicWebDevelopmentWithSeaside> Not really. The transfer of the book from Pier to Pillar is âin processâ and a bit âstalledâ because of an issue in Pillar.
For now, if you can package your code and send it to the mailinglist, I can archive it and someone can pick it up when going through the book. Johan
participants (5)
-
Johan Brichau -
Mircea S. -
phil@highoctane.be -
Serge Stinckwich -
Stephan Eggermont