Minor Update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-sdmx-import-widget@99441 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-09-03 15:43:48 +00:00 committed by Giancarlo Panichi
parent 66d29e9aaf
commit 4a7457f899
1 changed files with 6 additions and 1 deletions

View File

@ -25,6 +25,7 @@ import com.google.gwt.i18n.client.DateTimeFormat;
import com.google.gwt.user.client.Command;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.ui.VerticalPanel;
import com.sencha.gxt.cell.core.client.form.ComboBoxCell.TriggerAction;
import com.sencha.gxt.data.client.loader.RpcProxy;
import com.sencha.gxt.data.shared.ListStore;
import com.sencha.gxt.data.shared.loader.ListLoadConfig;
@ -184,6 +185,9 @@ public class SDMXTableDetailCard extends WizardCard {
});
}
};
comboLicences.setEditable(false);
comboLicences.setTypeAhead(false);
comboLicences.setTriggerAction(TriggerAction.ALL);
Log.trace("Combo Licence created");
// /
@ -343,7 +347,8 @@ public class SDMXTableDetailCard extends WizardCard {
}
}
if(comboLicences.getCurrentValue()!=null&& comboLicences.getCurrentValue().getLicence()!=null){
if(comboLicences.getCurrentValue()!=null&&
comboLicences.getCurrentValue().getLicence()!=null && !comboLicences.getCurrentValue().getLicence().isEmpty()){
detail.setLicence(comboLicences.getCurrentValue().getLicence());
}