@Override
protected void onSubmit() {
ServerConfig serverConfig = ((OpenXRIAdminApplication) Application.get()).getOpenXRIServerConfig();
URIMapper openXRIURIMapper = ((OpenXRIAdminApplication) Application.get()).getOpenXRIURIMapper();
try {
StringBuffer uri = new StringBuffer()
.append("http://")
.append(serverConfig.getHostName())
.append(":")
.append(serverConfig.getHostPort())
.append(serverConfig.getServletPath());
openXRIURIMapper.completeURI(uri, this.namespace);
Index.this.completeResultFragment.setUri(uri.toString());
} catch (Exception ex) {
log.error(ex);