This example shows the use of a WMSLayerPanel in an Ext.Window. Add layers to the map using the grid on the left. Select a layer node in the layer tree and click the "Show Properties" button to launch the layer properties dialog. Change the layer title and display options and see the result in the map and layer tree.
The WMSLayerPanel in this example has an extra tab, the WMSStylesDialog. This dialog is used to manage and edit the style of the layer.
The js is not minified so it is readable. See layer-properties.js.