@Override
public void onClick() {
FeatureTypeInfo typeInfo = (FeatureTypeInfo) model.getObject();
try {
setResponsePage(new SQLViewEditPage(typeInfo, ((ResourceConfigurationPage) this.getPage())));
} catch(Exception e) {
LOGGER.log(Level.SEVERE, "Failure opening the sql view edit page", e);
error(e.toString());
}
}