How can I asure that a CSS header contribution is rendered into <head>
AFTER another css reference. To explain it a little bit more:
If I use wicket.datetime.DatePicker the line

        <link id="yui__dyn_0" type="text/css" charset="utf-8"
rel="stylesheet"
href="resources/org.apache.wicket.extensions.yui.YuiLib/calendar/assets/
skins/sam/calendar.css">

If I want to customize some elements of the DatePicker I need my own CSS
to load AFTER calendar.css.

Overriding DatePicker.renderHead like

        @Override
        public void renderHead(IHeaderResponse response) {
                super.renderHead(response);
                response.renderCSSReference(new
ResourceReference(CSS.class, "myCal.css"));
        }

Does not work. It places myCal.css always BEFORE calendar.css

Stefan

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

Reply via email to