Updated view table behavior

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-open-widget@94093 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-04-02 15:19:37 +00:00 committed by Giancarlo Panichi
parent 26084460f9
commit b7c5c2334c
1 changed files with 1 additions and 5 deletions

View File

@ -7,7 +7,6 @@ import org.gcube.portlets.user.td.gwtservice.client.rpc.TDGWTServiceAsync;
import org.gcube.portlets.user.td.gwtservice.shared.tr.TabResource;
import org.gcube.portlets.user.td.gwtservice.shared.tr.TableData;
import org.gcube.portlets.user.td.gwtservice.shared.tr.open.TDOpenSession;
import org.gcube.portlets.user.td.widgetcommonevent.shared.TRId;
import org.gcube.portlets.user.td.wizardwidget.client.WizardCard;
import com.allen_sauer.gwt.log.client.Log;
@ -161,10 +160,7 @@ public class TabResourcesSelectionCard extends WizardCard {
protected void updateTDOpenSessionInfo(TableData table) {
TabResource tabResource = tdOpenSession.getSelectedTabResource();
TRId trId = tabResource.getTrId();
trId.setTableId(table.getTrId().getTableId());
trId.setTableType(table.getTrId().getTableType());
tabResource.setTrId(trId);
tabResource.setTrId(table.getTrId());
tdOpenSession.setSelectedTabResource(tabResource);
Log.debug("TdOpenSession: " + tdOpenSession);
setTabularResource();