Hi,

The idea is that Wicket will contribute the configured bundle every time a
resource of that bundle is used.
I.e. if you have a bundle.css combining a.css, b.css and c.css then when a
component or behavior needs to use b.css Wicket will contribute bundle.css.

In DEV mode you can contribute the resources separately (for easier
debugging, for example). In PROD mode - the bundle, to save network
resources.

Martin Grigorov
Wicket Training and Consulting


On Wed, Apr 2, 2014 at 11:59 AM, armandoxxx <[email protected]>wrote:

> Hey......
>
> thank you for your reply ...
> but I still don't get why create bundles if I still need to define my
> resources and dependencies in resources ... and to use them in a page I
> still have to use the resource instance instead of reference to bundle ...
> whats the point of it ...
>
> Regards
>
> Armando
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/Why-resource-bundles-and-how-to-use-them-tp4665207p4665220.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to