Hi,

You can add two different bundles. In DEV mode the bundle will contain A, B
and C and in PROD mode just A and D.
In your pages/panels you have to add only A. Wicket will serve the proper
bundle depending on the mode.


On Tue, Nov 27, 2012 at 10:54 PM, kamiseq <kami...@gmail.com> wrote:

> hi,
> I try to figure out how to configure wicket to add resources A, B and C to
> head only if mode is development and only resource A, D if mode is
> production.
>
> in general should I fork the flow in each #renderHead(IHeaderResponse
> response) upon flag or can I do this somewhere in application config when
> defining HeaderResponseDecorator
>
> pozdrawiam
> Paweł Kamiński
>
> kami...@gmail.com
> pkaminski....@gmail.com
> ______________________
>



-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Reply via email to