IDEMPIERE-1419 InfoWindow : List column display the value instead of the name / based on patch from hieplq
This commit is contained in:
parent
dcc35ca737
commit
78738e318e
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue