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");
|
Log.trace("LoaderCombo created");
|
||||||
|
|
||||||
comboLicences = new ComboBox<LicenceData>(storeCombo,
|
comboLicences = new ComboBox<LicenceData>(storeCombo,
|
||||||
propsLicenceData.licence()) {
|
propsLicenceData.licenceName()) {
|
||||||
|
|
||||||
protected void onAfterFirstAttach() {
|
protected void onAfterFirstAttach() {
|
||||||
super.onAfterFirstAttach();
|
super.onAfterFirstAttach();
|
||||||
|
@ -364,8 +364,8 @@ public class SDMXTableDetailCard extends WizardCard {
|
||||||
|
|
||||||
|
|
||||||
if(comboLicences.getCurrentValue()!=null&&
|
if(comboLicences.getCurrentValue()!=null&&
|
||||||
comboLicences.getCurrentValue().getLicence()!=null && !comboLicences.getCurrentValue().getLicence().isEmpty()){
|
comboLicences.getCurrentValue().getLicenceId()!=null && !comboLicences.getCurrentValue().getLicenceId().isEmpty()){
|
||||||
detail.setLicence(comboLicences.getCurrentValue().getLicence());
|
detail.setLicence(comboLicences.getCurrentValue().getLicenceId());
|
||||||
}
|
}
|
||||||
|
|
||||||
importSession.setTabResource(detail);
|
importSession.setTabResource(detail);
|
||||||
|
|
|
@ -20,7 +20,7 @@ public interface LicenceDataPropertiesCombo extends
|
||||||
@Path("id")
|
@Path("id")
|
||||||
ModelKeyProvider<LicenceData> id();
|
ModelKeyProvider<LicenceData> id();
|
||||||
|
|
||||||
LabelProvider<LicenceData> licence();
|
LabelProvider<LicenceData> licenceName();
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue