IDEMPIERE-1419 InfoWindow : List column display the value instead of the name / based on patch from hieplq

This commit is contained in:
Carlos Ruiz 2014-05-28 12:32:24 -05:00
parent dcc35ca737
commit 78738e318e
1 changed files with 5 additions and 0 deletions

View File

@ -1208,6 +1208,11 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL
{ {
if (infoColumn.getAD_Reference_ID() == DisplayType.List) if (infoColumn.getAD_Reference_ID() == DisplayType.List)
{ {
WEditor editor = null;
editor = WebEditorFactory.getEditor(getGridField(infoColumn), true);
editor.setMandatory(false);
editor.setReadWrite(false);
editorMap.put(infoColumn.getSelectClause(), editor);
columnInfo = new ColumnInfo(infoColumn.get_Translation("Name"), infoColumn.getSelectClause(), ValueNamePair.class, (String)null); columnInfo = new ColumnInfo(infoColumn.get_Translation("Name"), infoColumn.getSelectClause(), ValueNamePair.class, (String)null);
} }
else else