[Seaside] Re: jQueryMobile for Seaside 3.2.0?

Paul DeBruicker pdebruic at gmail.com
Wed Jun 22 06:32:27 UTC 2016


Hi Michael,

I took a few minutes and got it "working" in Pharo 5 with Seaside 3.2.0. 
The flickr example in ConfigurationOfJQueryMobileSamples works with the
change described below.


The new repo on smalltalkhub here: 

http://smalltalkhub.com/#!/~Seaside/JQueryMobile

In a cleanr Pharo 5 you can load the example with

Metacello new
     repository:'http://smalltalkhub.com/mc/Seaside/JQueryMobile/main';
     configuration: 'JQueryMobileSamples';
     version: #stable;
     load.


The two main problems to fix now are:

1. the javascript libraries are from 2012, so they need to be updated along
with any changes to the APIs

2. for the flickr example to work, with my level of understanding, you have
to modify a core part of Seaside.  I'm not sure about the internals but the
flickr example works if you change 

WARenderPhaseContinuation>>#processRendering: 

and add 

document scriptGenerator: JQMScriptGenerator new.

right after the document is created the example works great.  It is likely
that there is a configuration option for this I just don't know it.  



Hope this helps

Paul



Michael J. Forster wrote
> I see the last mention of jQueryMobile on this list was Esteban A. M.'s
> inquiry in late 2013. Has anyone tried it with Seaside 3.2.0?
> 
> I ask because I'm interested in using it, but I find installation of the
> existing version pulls in an older Seaside and dependencies. I would be
> happy to collaborate or assist with an update to support Seaside 3.2.0 if
> anyone is interested.
> 
> Best,
> 
> Mike





--
View this message in context: http://forum.world.st/jQueryMobile-for-Seaside-3-2-0-tp4901968p4902342.html
Sent from the Seaside General mailing list archive at Nabble.com.


More information about the seaside mailing list