On Tue, 02 Jul 2013 15:35:20 -0300, George Ludwig <georgelud...@gmail.com>
wrote:
I'm working on a custom component of the SigmaJS visualization library (
http://sigmajs.org).
Specifically, this example: http://sigmajs.org/examples/gexf_example.html
Interesting!
I've been studying the got5 examples of js library integration, and they
are all pretty complex, and it's a challenge to figure out what I really
need to do.
They are complex because the project tapestry-jquery is about
reimplementing Tapestry's built-in Java in jQuery. You're thinking what
you need to do in your example is way too complex than reality. Couldn't
you just @Import to get the JS files included and
JavaScriptSupport.addScript() to invoke JS functions?
I've been working form this tutorial:
http://wiki.apache.org/tapestry/Tapestry5AndJavaScriptExplained however,
it's for a mixin and I'm unclear if there is a material difference
between creating a component vs. a mixin.
For the JavaScript part, it's absolutely the same in pages, components and
mixins.
Any guidance is much appreciated!
-George
--
Thiago H. de Paula Figueiredo
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org