Re: Do I need a custom ResourceAggregator

2012-09-10 Thread Emond Papegaaij
Yes, this is the way to do it. Most of the code in ResourceAggregator is about resolving dependencies and resource bundles. If your DojoRequireHeaderItem is never part of a bundle (which probably is the case), you can skip the 'getItemToBeRendered' part. Best regards, Emond On Sunday 09 Septem

Re: Do I need a custom ResourceAggregator

2012-09-08 Thread Gonzalo Aguilar Delgado
Hello, I can answer myself. I was studing wicket code and the examples and found a solution, extending DecoratingHeaderResponse. It still makes me feel a little bit lost but it works. I copied functionality from ResourceAggregator. public class DojoAggregatorHeaderResponse extends Decorating

Do I need a custom ResourceAggregator

2012-09-08 Thread Gonzalo Aguilar Delgado
Hello, I'm reimplementing my dojo interface again with version 6.0.0 of wicket. I need to replicate same functionality that gives ResourceAggregator + OnDomReadyHeaderItem. I mean, I need that every script that goes into the require when don is aggregated. require(["dojo/dom", "dojo/domReady!