You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Joe Fawzy <jo...@gmail.com> on 2010/05/05 01:50:39 UTC
change or replace css file on page reload
Hi all
i was wondering how could i change a css file on every page reload
i thought of using header contribution in onBeforeRender() , but it seams
to add the new the new css file
what i need is to replace a certain css on every render of a certain page
actually i can dynamically generate the css file using velocity or
freemarker ,but the question is how to replace the old css with the new one
thanks
Joe
Re: change or replace css file on page reload
Posted by Igor Vaynberg <ig...@gmail.com>.
see IHeaderContributor
-igor
On Tue, May 4, 2010 at 4:50 PM, Joe Fawzy <jo...@gmail.com> wrote:
> Hi all
> i was wondering how could i change a css file on every page reload
> i thought of using header contribution in onBeforeRender() , but it seams
> to add the new the new css file
> what i need is to replace a certain css on every render of a certain page
>
> actually i can dynamically generate the css file using velocity or
> freemarker ,but the question is how to replace the old css with the new one
>
> thanks
> Joe
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org