9899100101102103104105106
this.loginLink.setHref("/login.html?return_to=" + URL.encodeQueryString("#" + DisplayPlace.PREFIX + ":" + new DisplayPlace.Tokenizer() .getToken(new DisplayPlace(this.pageName)))); Window.setTitle(name + Index.ANTONY_TRUPE); }
65666768697071727374
} @Override public void onSuccess(Void result) { // go to the page RevisionViewImpl.this.listener.goTo(new DisplayPlace( RevisionViewImpl.this.revision.getName())); } }); }
5758596061626364
return this.update.getValue(); } @UiHandler("cancel") void onCancel(ClickEvent e) { this.listener.goTo(new DisplayPlace(URL .encodeQueryString(this.pageName))); }
7879808182838485
@UiHandler("save") void onSave(ClickEvent e) { // do the save save(); this.listener.goTo(new DisplayPlace(URL .encodeQueryString(this.pageName))); }
3940414243444546
initWidget(uiBinder.createAndBindUi(this)); } @UiHandler("backLink") void onClickEdit(ClickEvent e) { this.listener.goTo(new DisplayPlace(URL .encodeQueryString(this.pageName))); }