Search in sources :

Example 1 with CssContentHeaderItem

use of org.apache.wicket.markup.head.CssContentHeaderItem in project wicket by apache.

the class RerenderAjaxPage method renderHead.

@Override
public void renderHead(IHeaderResponse response) {
    super.renderHead(response);
    // and add our own special sauce to the page to emphasize the issue. If this CSS is not
    // rendered, the page will show a big red box telling you about the failure.
    response.render(new CssContentHeaderItem(HEAD_TEXT, "mystyle", null));
}
Also used : CssContentHeaderItem(org.apache.wicket.markup.head.CssContentHeaderItem)

Aggregations

CssContentHeaderItem (org.apache.wicket.markup.head.CssContentHeaderItem)1