ContentEditor.this.contentService.add(pageEncoded, contentDTO, new AsyncCallbackWithMsg<Void>(){
@Override
public void onCallSuccess(Void result) {
Alert alert = new Alert("Success !", "Content Created Successfully !");
alert.addButton("Add Another Content", new ClickHandler() {
@Override
public void onClick(ClickEvent event) {
Window.Location.assign("/_ah/content/add?page=" + pageEncoded);
}