return new SimpleBookmarkableLink(id, ResourceConfigurationPage.class, layerNameModel,
ResourceConfigurationPage.NAME, layerName, ResourceConfigurationPage.WORKSPACE, wsName);
}
private Component storeLink(String id, final IModel model) {
IModel storeModel = STORE.getModel(model);
String wsName = (String) WORKSPACE.getModel(model).getObject();
String storeName = (String) storeModel.getObject();
StoreInfo store = getCatalog().getStoreByName(wsName, storeName, StoreInfo.class);
if(store instanceof DataStoreInfo) {
return new SimpleBookmarkableLink(id, DataAccessEditPage.class, storeModel,
DataAccessEditPage.STORE_NAME, storeName,
DataAccessEditPage.WS_NAME, wsName);