}
return result;
}
public void open(Container parentContainer, String params, boolean showProgress) {
SwingMLServerResponse response = null;
String url = null;
url = computeURL();
if (url != null) {
response = HttpSubmitController.submit(url, parentContainer, params, showProgress);
} else {
throw new InvalidTargetLocationException("Error accessing URL, make sure URL Property entry is defined...");
}
SwingMLRenderer renderer = SwingMLRenderer.getRenderer();
if (response != null) {
renderer.render(response.getSwingMLSpec(), parentContainer);
if (response.hasErrors()) {
SwingMLModel model = (SwingMLModel) SwingMLModelToContainerRegistry.getModel(parentContainer);
// TODO - Edit Substitute
model.handle(response.getErrors());
}
} else {
renderer.render(HttpSubmitController.getConnectionErrorSpec(), parentContainer);
}
}