Updated Licence
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-sdmx-import-widget@115367 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
fdbb186593
commit
298766a17e
|
@ -174,7 +174,7 @@ public class SDMXTableDetailCard extends WizardCard {
|
|||
Log.trace("LoaderCombo created");
|
||||
|
||||
comboLicences = new ComboBox<LicenceData>(storeCombo,
|
||||
propsLicenceData.licence()) {
|
||||
propsLicenceData.licenceName()) {
|
||||
|
||||
protected void onAfterFirstAttach() {
|
||||
super.onAfterFirstAttach();
|
||||
|
@ -364,8 +364,8 @@ public class SDMXTableDetailCard extends WizardCard {
|
|||
|
||||
|
||||
if(comboLicences.getCurrentValue()!=null&&
|
||||
comboLicences.getCurrentValue().getLicence()!=null && !comboLicences.getCurrentValue().getLicence().isEmpty()){
|
||||
detail.setLicence(comboLicences.getCurrentValue().getLicence());
|
||||
comboLicences.getCurrentValue().getLicenceId()!=null && !comboLicences.getCurrentValue().getLicenceId().isEmpty()){
|
||||
detail.setLicence(comboLicences.getCurrentValue().getLicenceId());
|
||||
}
|
||||
|
||||
importSession.setTabResource(detail);
|
||||
|
|
|
@ -20,7 +20,7 @@ public interface LicenceDataPropertiesCombo extends
|
|||
@Path("id")
|
||||
ModelKeyProvider<LicenceData> id();
|
||||
|
||||
LabelProvider<LicenceData> licence();
|
||||
LabelProvider<LicenceData> licenceName();
|
||||
|
||||
|
||||
}
|
Loading…
Reference in New Issue