Dear wicket-users,

I notice that a header contribution by a panel is not rendered in the following case. An inline CSS in the head section is first rendered by switching tabs

<header-contribution encoding="wicket1" ><![CDATA[<head xmlns:wicket="http://wicket.apache.org";><script type="text/javascript" src="./wicket/resource/org.apache.wicket.resource.JQueryResourceReference/jquery/jquery-1.10.1-ver-1377004856000.js">...
<style type="text/css" id="custom-widget-stylesheet"><!--
.multi.box .header h2 {
    margin: 0;
    padding: 0;
    font-size: 15px;
}--></style>
</head>]]></header-contribution>

when i rerender the panel with a slighty different header contribution, then panel is rerendered but the header contribution is not picked up.

<?xml version="1.0" encoding="UTF-8"?><ajax-response><component id="style.widget.titel" ><![CDATA[<input wicket:id="counter" type="text" value="16" data-max="500" data-min="350" data-default="460" name="stijlPanel:titelCounter:counter" id="style.widget.titel">]]></component><header-contribution><![CDATA[<head xmlns:wicket="http://wicket.apache.org";><style type="text/css" id="custom-widget-stylesheet"><!--
.multi.box .header h2 {
    margin: 0;
    padding: 0;
    font-size: 16px;
}--></style>
</head>]]></header-contribution></ajax-response>

Has anyone ideas how to debug this? Is it not possible to replace a header contribution with the same ID?

thanks in advance,

Haiko




---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to