[Seaside] Procedure for adding a JQuery Plugin..
tmurray at ecsorl.com
Mon Aug 2 19:26:51 UTC 2010
Apologies if this has been covered elsewhere.
I would like to add a JQuery plugin for displaying charts to our site.
The plugin site is here http://www.jqplot.com/
I have modeled a new application library after the
Has two instance methods: jQueryUiJs and selectorsToInclude which
contains an array with the symbol for the other method.
I replaced single quotes with a ''
I added a selector o the selectorsToInclude array.
plugin to my application via the Dispatcher->config area.
1. Add to a script tag
don't use this as no way to guarantee script will run after page load
2. add to a list of load-scripts
3. add to a DOM element
Every html brush understands the message script: wich will endure
(1) the tag has a unique id
4. Add as a DOM event handler
wrapper around my new library objects? Or, can/should I access the new
The plugin author has a demo/test page, and I want to display a simple
bar chart to start with:
this to a div and display the chart?
If a smalltalk wrapper is required, is there a boilerplate procedure for
If somebody can guide me through the procedure, I will be very happy to
port this plugin to Seaside.
Thx in advance.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the seaside