ListView<LayerGroupConfigurationPanelInfo> list;
list = new ListView<LayerGroupConfigurationPanelInfo>("contributedPanels", extensions) {
@Override
protected void populateItem(ListItem<LayerGroupConfigurationPanelInfo> item) {
final LayerGroupConfigurationPanelInfo panelInfo = item.getModelObject();
try {
LayerGroupConfigurationPanel panel;
Class<LayerGroupConfigurationPanel> componentClass;
Constructor<? extends LayerGroupConfigurationPanel> constructor;
componentClass = panelInfo.getComponentClass();
constructor = componentClass.getConstructor(String.class, IModel.class);
panel = constructor.newInstance("content", lgModel);
item.add(panel);
} catch (Exception e) {
throw new WicketRuntimeException(