I also wrote something on my blog on this :
http://ninomartinez.wordpress.com/2008/09/09/apache-wicket-javascript-integration/
And on the company blog I worked for at a time:
http://blog.jayway.com/2008/09/26/wicket-javascript-internals-dissected/
T C wrote:
I understand all integrations may be different but has anyone posted a "recipe" for how to create an integration jQuery, i.e., what is required for creating a behavior?
Thanks,
/tc
________________________________
From: Jeremy Thomerson <[email protected]>
To: [email protected]
Cc: [email protected]
Sent: Tuesday, December 23, 2008 6:20:18 PM
Subject: Re: Wicket and Javascript framework integration
Check out one of the many examples in Wicket Stuff, for instance, the YUI
integration:
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/yui-parent/yui/
You can also see what Nino has just been working on in the past couple of
days with this:
https://wicket-stuff.svn.sourceforge.net/svnroot/wicket-stuff/trunk/wicketstuff-core/artwork-parent/artwork/
Basically, you'll just need to include the JS file (i.e. jQuery, etc) with a
ResourceReference, and then create a behavior (for example, extend
AbstractBehavior) that adds the appropriate JS code to the page to add
jQuery (or other) components / behaviors to your Wicket components.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]