JQuery advise

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

JQuery advise

Thelliez
Hello all,

How would you implement a browser side table sorter? This one seems to
be close to what I want: http://tablesorter.com/docs/

But my real question is what version of GLASS and Seaside supports
JQuery and would work in production (2.8, 3.0?).

For running such system do I manually load the jQuery and
JQuery.tablesorter files? I am not clear how an external JQuery
library gets used (maybe I should post that to the Seaside list).


Thanks for your help.
Thierry
Reply | Threaded
Open this post in threaded view
|

Re: JQuery advise

Bart Gauquie
Hi, 

how to integrate a jquery plugin:

There exists a JQueryWidgetBox project on squeaksource: http://www.squeaksource.com/JQueryWidgetBox. A list of jquery plugins are already in it.
Please look at there how to integrate a jquery plugin. On the wiki, you also find some info.

Kind regards,

Bart

On Thu, Sep 23, 2010 at 9:22 PM, Thierry Thelliez <[hidden email]> wrote:
Hello all,

How would you implement a browser side table sorter? This one seems to
be close to what I want: http://tablesorter.com/docs/

But my real question is what version of GLASS and Seaside supports
JQuery and would work in production (2.8, 3.0?).

For running such system do I manually load the jQuery and
JQuery.tablesorter files? I am not clear how an external JQuery
library gets used (maybe I should post that to the Seaside list).


Thanks for your help.
Thierry



--
imagination is more important than knowledge - Albert Einstein
Logic will get you from A to B. Imagination will take you everywhere - Albert Einstein
Learn from yesterday, live for today, hope for tomorrow. The important thing is not to stop questioning. - Albert Einstein
The true sign of intelligence is not knowledge but imagination. - Albert Einstein
However beautiful the strategy, you should occasionally look at the results. - Sir Winston Churchill
It's not enough that we do our best; sometimes we have to do what's required. - Sir Winston Churchill
Reply | Threaded
Open this post in threaded view
|

Re: JQuery advise

Dale Henrichs
In reply to this post by Thelliez
Thierry,

I would suggest posting to Seaside list ... I'm not anywhere near a
javascript ninja...

With that said, I think that you do two things ... create a library
class that contains your javascript in a method (I think there is a
naming convention), then arrange to register the library with your
application, so that the correct library load magic is added to the pages.

Oh, for JQuery, I think you need to use Seaside 3.0...I am not aware of
the need to do anything special for GemStone and JQuery.

Dale

Thierry Thelliez wrote:

> Hello all,
>
> How would you implement a browser side table sorter? This one seems to
> be close to what I want: http://tablesorter.com/docs/
>
> But my real question is what version of GLASS and Seaside supports
> JQuery and would work in production (2.8, 3.0?).
>
> For running such system do I manually load the jQuery and
> JQuery.tablesorter files? I am not clear how an external JQuery
> library gets used (maybe I should post that to the Seaside list).
>
>
> Thanks for your help.
> Thierry

Reply | Threaded
Open this post in threaded view
|

Re: JQuery advise

Thelliez
Dale,

Thanks for the answer. About Seaside 3.0.  I started some development
with Seaside 2.8.  Can I load Seaside 3.0 on top? Or do I need to
start from a fresh install?


Thanks,
Thierry
Reply | Threaded
Open this post in threaded view
|

Re: JQuery advise

Dale Henrichs
Thierry Thelliez wrote:
> Dale,
>
> Thanks for the answer. About Seaside 3.0.  I started some development
> with Seaside 2.8.  Can I load Seaside 3.0 on top? Or do I need to
> start from a fresh install?
>
>
> Thanks,
> Thierry

Seaside 2.8 and Seaside3.0 are incompatible, so you'll need a fresh
install...

Dale