change or replace css file on page reload

2010-05-04 Thread Joe Fawzy
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

2010-05-04 Thread Igor Vaynberg
see IHeaderContributor

-igor

On Tue, May 4, 2010 at 4:50 PM, Joe Fawzy joewic...@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-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org