Re: CSS bundles order does not seem stable when using an application

2013-03-18 Thread Sylvain Vieujot
gt; Regards > > Armando > > > > > > -- > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/CSS-bundles-order-does-not-seem-stable-when-using-an-application-tp4657299p4657319.html > Sen

Re: CSS bundles order does not seem stable when using an application

2013-03-18 Thread armandoxxx
read this about resources: resources management <http://wicketinaction.com/2012/07/wicket-6-resource-management/> us PriorityHeaderItem() Regards Armando -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/CSS-bundles-order-does-not-seem-stable-when-us

Re: CSS bundles order does not seem stable when using an application

2013-03-18 Thread Michael Haitz
ok, didn't know that you use wicket:head. By default components are visited child-first and wicket:head before code contribution. order should be something like that: 1. child component wicket:head 2. child component renderHead 3. Page wicket:head 4. Page renderHead You can manipulate order

Re: CSS bundles order does not seem stable when using an application

2013-03-17 Thread Sylvain Vieujot
Add the bootstrap css resource reference to the bundle would solve the problem if it were possible. Indeed the bootstrap css include references to images whose path is relative to the bootstrap classpath. So adding bootstrap css to a bundle whose path is not the same as bootstrap will break the boo

Re: CSS bundles order does not seem stable when using an application

2013-03-17 Thread Michael Haitz
does adding the bootstrap css resource reference to the bundle solve your problem? sorry, i don't have access to the code at the moment. Am 17.03.2013 um 21:46 schrieb "Sylvain Vieujot" : > Unfortunately, this does not solve the issue. > It seems that if the page has a tag, the order is > dis

Re: CSS bundles order does not seem stable when using an application

2013-03-17 Thread Sylvain Vieujot
Unfortunately, this does not solve the issue. It seems that if the page has a tag, the order is disturbed. This was not the case when my application was not using getResourceBundles().addCssBundle in the Application.init. On Sun, 2013-03-17 at 16:26 +0100, Michael Haitz wrote: > you can add a de

Re: CSS bundles order does not seem stable when using an application

2013-03-17 Thread Michael Haitz
you can add a dependency to the bootstrap resource reference in your own BaseCssResourceReference: @Override public Iterable getDependencies() { List dependencies = new ArrayList(); dependencies.add(JavaScriptHeaderItem.forReference(Bootstrap.plain())); re

CSS bundles order does not seem stable when using an application

2013-03-16 Thread Sylvain Vieujot
My application is using a resourceBundle to concatenate CSS resources via : getResourceBundles().addCssBundle( ... ). My base wicket page, from which all others pages inherit starts including the Bootstrap CSS, and then my other CSS : public void renderHead(IHeaderResponse response) { sup