You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wicket.apache.org by Peter Ertl <pe...@gmx.org> on 2011/09/07 14:20:15 UTC

WICKET-4030 renderCssReference does not render relative to context-root

Hi devs,

as you can read in 

  https://issues.apache.org/jira/browse/WICKET-4030

a user found out that contrary to the javadoc 

	/**
	 * Writes a CSS reference, if the specified reference hasn't been rendered yet.
	 * 
	 * @param url
	 *            >>>>>>>context-relative<<<<<<<< url of the CSS resource
	 */
	public void renderCSSReference(String url);


the method Response#renderCSSReference(url) does not render relative to the context root of the web application but relative to the wicket-filter root.

Can someone give me details on that behavior? Is the javadoc wrong is should the implementation be fixed.

caveat: the render happens relative to wicket-filter root both in current release 1.4.18 and 1.5.0

Cheers
Peter