View Full Version : Custom contentpanelappaearnce not working

1 Apr 2015, 9:41 PM
Hi all,

I try to create a custom contentpanel appearance like it is described in the documentation.

In the modul descriptor i placed different replace-with directives , but no one is working. Always the com-sencha-gxt-theme-base-client-panel-ContentPanelBaseAppearance is wrapping the div's. What am I doing wrong?

Injecting an instance of the custom contentpanel appearance to the content panel is also not working. Any ideas?

Best bluezoo

P.S.: Here are the directives which fails:

<replace-with class="test.CustomContentPanelAppearance">
<when-type-is class="com.sencha.gxt.widget.core.client.ContentPanel.ContentPanelAppearance"/>

<replace-with class="test.ContentPanelAppearance">
<when-type-is class="com.sencha.gxt.theme.blue.client.panel.BlueContentPanelAppearance" />

<replace-with class="test.CustomContentPanelAppearance">
<when-type-is class="com.sencha.gxt.theme.base.client.panel.ContentPanelBaseAppearance" />