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

Reply via email to