wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pierre Goiffon <pgoiffon.wic...@free.fr>
Subject Re: renderHead() / wicket:head page / component order
Date Thu, 02 Aug 2012 08:03:48 GMT
Le 31/07/2012 08:33, Emond Papegaaij a écrit :
>> But one more question though : why rendering wicket:head (in the markup
>> file) contributions before renderHead() (in the java file) contributions ?
>
> With these things you just have to make a decision. Both orders are equally
> valid. You use wicket:head for minor adjustments in styling, others use
> wicket:head to contribute the css files and do the adjustments in renderHead.
> The idea was, that with this order, it is always possible to override any
> static wicket:head contribution from the Java code. Personally, I try to avoid
> wicket:head as much as possible and render everything from renderHead. This
> gives you the most flexibility.

Right :)

Many thanks for all your answers !

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


Mime
View raw message