Hum... did that already for the general js-stuff: https://github.com/criedel/tapestry5-jquery/blob/master/src/main/java/org/got5/tapestry5/jquery/services/javascript/JQueryJavaScriptStack.java
So that's the only way? How about an improvement for Tapestry 5.3 that allows to add resources as needed? Thanks! Am 04.01.2011 um 20:50 schrieb Howard Lewis Ship: > You could just replace the entire "core" JavaScriptStack with your own set, > following the default implementation's rules about what comes from where, > but add in the jQuery stuff as well as any monkey-patching of content inside > tapestry.js. > > > On Tue, Jan 4, 2011 at 7:29 AM, Christian Riedel > <cr.ml...@googlemail.com>wrote: > >> Hi list, >> >> I'm working on some improvements for tapestry5-jquery[1]. One of the things >> I want to improve / adjust to the T5.2-way is the dynamic integration of >> resources for core-components. "Form", "Zone" and others need some >> js-contributions to work with jquery. The original approach by the got5-guys >> was to use a ComponentClassTransformWorker[2] to add a Mixin to Form, Zone >> and other components. The Mixin[3] includes the actual assets in the end. >> I looked at the JavascriptStacks in T5.2 and replaced the assets in the >> Mixins with the stacks[4]. Now the Mixin and Worker aren't doing that >> much... >> >> Is there a shorter, a more elegant, tapestryesque way to dynamically add >> JavascriptStacks to (core-)components? >> >> Cheers, >> Christian >> >> >> [1] https://github.com/got5/tapestry5-jquery/ >> [2] >> https://github.com/got5/tapestry5-jquery/blob/master/src/main/java/org/got5/tapestry5/jquery/services/FormResourcesInclusionWorker.java >> [3] >> https://github.com/got5/tapestry5-jquery/blob/master/src/main/java/org/got5/tapestry5/jquery/mixins/IncludeFormResources.java >> >> [4] >> https://github.com/criedel/tapestry5-jquery/blob/master/src/main/java/org/got5/tapestry5/jquery/mixins/IncludeFormResources.java >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> > > > -- > Howard M. Lewis Ship > > Creator of Apache Tapestry > > The source for Tapestry training, mentoring and support. Contact me to learn > how I can get you up and productive in Tapestry fast! > > (971) 678-5210 > http://howardlewisship.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org