String error = uploadOntologyResult.getError();
StringBuffer sb = new StringBuffer();
VerticalPanel vp = new VerticalPanel();
vp.setSpacing(6);
if ( error == null ) {
String uri = uploadOntologyResult.getUri();
vp.add(new HTML("<font color=\"green\">Congratulations!</font> "
+ "The new version is now registered."
));
vp.add(new HTML("<br/>The URI of the ontology is: "
// + "<a href=\"" +uri+ "\">"
+ uri
// + "</a>"
));
vp.add(new HTML("<br/>For diagnostics, this is the response from the back-end server:"));
sb.append(uploadOntologyResult.getInfo());
// and, disable all editing fields/buttons:
// (user will have to start from the "load" step)