added redirecting on addMore Click VRE

git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/trunk/portlets/user/my-vres@131902 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Massimiliano Assante 2016-09-27 14:57:16 +00:00
parent f2404513da
commit 04158ccd80
1 changed files with 4 additions and 0 deletions

View File

@ -46,6 +46,10 @@ public class ClickableVRE extends HTML {
addClickHandler(new ClickHandler() {
public void onClick(ClickEvent event) {
String html = "<div style=\"display: table; text-align:center; width: 100%; height: 75px;\">" +
"<span style=\"vertical-align:middle; display: table-cell;\">redirecting ...</span>" +
"</div>";
setHTML(html);
service.showMoreVREs(new AsyncCallback<String>() {
@Override
public void onFailure(Throwable caught) { }