Hi

Actually I am pretty new with Wicket, but I give it a shot... :-)

        @Override
        public void renderHead(IHeaderResponse response) {
                super.renderHead(response);
                response.renderCSSReference(YOUR_CSS_REF);
        }

private static final ResourceReference YOUR_CSS_REF = new 
PackageResourceReference(...


-----Original Message-----
From: Mansour Al Akeel [mailto:mansour.alak...@gmail.com] 
Sent: 29 August 2012 19:20
To: users
Subject: Css for panel

I have a component that extends panel. I need to add css customization to this 
panel. I can include the css in the over all site CSS, but I like to separate 
the CSS for this panel. For example,

MyPanel.java
MyPanel.html
MyPanel.css

I like to have MyPanel.css included in the header of the html when ever MyPanel 
is used.
How do I do this with wicket 6.0 ??

Thank you.

---------------------------------------------------------------------
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

Reply via email to