Minor update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-unionwizard-widget@101380 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-11-03 16:41:05 +00:00 committed by Giancarlo Panichi
parent 10a141f5e6
commit 3a1eb2c841
1 changed files with 4 additions and 2 deletions

View File

@ -311,11 +311,12 @@ public class ColumnMappingPanel extends ContentPanel {
@Override
public void onSelection(SelectionEvent<ColumnData> event) {
comboUnionColumn.reset();
comboUnionColumn.clear();
storeComboUnionColumn.clear();
storeComboUnionColumn.commitChanges();
ColumnData selectedSourceColumn = event
.getSelectedItem();
storeComboUnionColumn.clear();
for (ColumnData col : unionColumns) {
if (selectedSourceColumn.getDataTypeName()
.compareTo(ColumnDataType.Text.toString()) == 0
@ -349,6 +350,7 @@ public class ColumnMappingPanel extends ContentPanel {
storeComboUnionColumn.commitChanges();
comboUnionColumn.redraw();
comboUnionColumn.enable();
forceLayout();
}
});