IDEMPIERE-1419:InfoWindow List column display the value instead of the name
This commit is contained in:
parent
bc4866556f
commit
c7e4d2cbeb
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue