return;
}
final GeoServerTileLayer geoserverTileLayer = (GeoServerTileLayer) getModelObject();
LayerInfo layerInfo = geoserverTileLayer.getLayerInfo();
if (layerInfo != null) {
ResourceConfigurationPage resourceConfigPage;
resourceConfigPage = new ResourceConfigurationPage(layerInfo, false);
// tell the resource/layer edit page to start up on the tile cache tab
resourceConfigPage.setSelectedTab(LayerCacheOptionsTabPanel.class);
if (returnPage != null) {
resourceConfigPage.setReturnPage(returnPage);
}
setResponsePage(resourceConfigPage);
} else {
LayerGroupInfo layerGroup = geoserverTileLayer.getLayerGroupInfo();
WorkspaceInfo workspace = layerGroup.getWorkspace();