Minor Update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-table-widget@96139 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2014-05-27 15:38:55 +00:00 committed by Giancarlo Panichi
parent 68d545bef1
commit 2c2be107c9
1 changed files with 4 additions and 2 deletions

View File

@ -499,8 +499,10 @@ public class EditRowPanel extends FramedPanel {
ColumnTypeCode.DIMENSION.toString()) == 0
|| colCurrent.getTypeCode().compareTo(
ColumnTypeCode.TIMEDIMENSION.toString()) == 0) {
fieldLabel.getWidget();
@SuppressWarnings("unchecked")
ComboBox<DimensionRow> comboDimension=(ComboBox<DimensionRow>)fieldLabel.getWidget();
DimensionRow dimRow=comboDimension.getValue();
maps.put(columnId, dimRow.getRowId());
} else {
if (colCurrent.getDataTypeName().compareTo(
ColumnDataType.Boolean.toString()) == 0) {