wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Bors <p...@bors.ws>
Subject RE: Css for panel
Date Wed, 29 Aug 2012 17:49:00 GMT
See "Including CSS resources" at:
https://cwiki.apache.org/WICKET/including-css-resources.html

This is also covered by all of the books on Wicket:
http://wicket.apache.org/learn/books/

You should invest into such a Book.
Personally I suggest "Wicket in Action" since its authors are Wicket
developers and you see their names in many of the replies on those mailing
lists :)

http://wicket.apache.org/learn/books/wia.html

~ Thank you,
  Paul Bors

-----Original Message-----
From: Ronny.Voss@consult.nordea.com [mailto:Ronny.Voss@consult.nordea.com] 
Sent: Wednesday, August 29, 2012 1:31 PM
To: users@wicket.apache.org
Subject: RE: Css for panel

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.alakeel@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-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


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



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


Mime
View raw message