Re: Why resource bundles and how to use them ?

2014-04-02 Thread Martin Grigorov
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 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: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


Re: Why resource bundles and how to use them ?

2014-04-02 Thread Andrea Del Bene
Could you post the code you are trying to use? This would help to 
understand your problem.

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: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org




-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Why resource bundles and how to use them ?

2014-04-02 Thread armandoxxx
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: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: Why resource bundles and how to use them ?

2014-04-01 Thread Gabriel Landon
Is that what you are looking for :

http://wicketinaction.com/2012/07/wicket-6-resource-management/

https://github.com/l0rdn1kk0n/wicket-bootstrap/blob/master/bootstrap-samples/src/main/java/de/agilecoders/wicket/samples/WicketApplication.java

Regards,

Gabriel.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Why-resource-bundles-and-how-to-use-them-tp4665207p4665209.html
Sent from the Users forum mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org