IDEMPIERE-1419:InfoWindow List column display the value instead of the name

This commit is contained in:
hieplq 2014-05-26 20:59:00 +07:00
parent bc4866556f
commit c7e4d2cbeb
1 changed files with 5 additions and 0 deletions

View File

@ -272,6 +272,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(gridFields.get(i), 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