Updated Task in background

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-open-widget@99764 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-09-11 16:36:40 +00:00 committed by Giancarlo Panichi
parent e76da36abb
commit 3da93a9f0c
1 changed files with 8 additions and 1 deletions

View File

@ -289,11 +289,18 @@ public class TabResourcesSelectionPanel extends ContentPanel implements
public void onSuccess(ArrayList<TabResource> result) { public void onSuccess(ArrayList<TabResource> result) {
Log.debug("loaded " + result.size() Log.debug("loaded " + result.size()
+ " TabularResources"); + " TabularResources");
ArrayList<TabResource> avaibles=new ArrayList<TabResource>();
for(TabResource tResource:result){
if(!tResource.isLocked()){
avaibles.add(tResource);
}
}
/* /*
* for(TabResource tr:result){ Log.debug("TR:"+tr); } * for(TabResource tr:result){ Log.debug("TR:"+tr); }
*/ */
callback.onSuccess(new ListLoadResultBean<TabResource>( callback.onSuccess(new ListLoadResultBean<TabResource>(
result)); avaibles));
} }
}); });
} }