HashMap<String,String> metaData = new HashMap<String,String>();
Window.alert(uri);
metaData.put("uri",uri);
metaData.put("url", url);
dispatcher.execute(new SetAuthorMetaDataActionHandler(metaData), new AsyncCallback<SetAuthorMetaDataActionHandlerResult>() {
@Override
public void onFailure(Throwable caught) {
Window.alert("could not connect to server. Maybe your internet connection is down?");
}