Minor Update

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-expression-widget@113844 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2015-03-31 17:18:50 +00:00
parent 7cad8df81b
commit 1315884dfd
2 changed files with 7 additions and 3 deletions

View File

@ -99,8 +99,12 @@ public class ReplaceColumnByExpressionDialog extends Window implements
EventBus eventBus) { EventBus eventBus) {
this.eventBus = eventBus; this.eventBus = eventBus;
this.trId = trId; this.trId = trId;
column = new ColumnData(); if (columnId == null) {
column.setColumnId(columnId); column=null;
} else {
column = new ColumnData();
column.setColumnId(columnId);
}
replaceExpressionType = ReplaceExpressionType.Replace; replaceExpressionType = ReplaceExpressionType.Replace;
initWindow(); initWindow();
load(); load();

View File

@ -361,7 +361,7 @@ public class ReplaceColumnByExpressionPanel extends FramedPanel {
} }
protected void setSelectedColumn() { protected void setSelectedColumn() {
if (column == null|| column.getTypeCode()==null) { if (column == null) {
} else { } else {