IDEMPIERE-4008 Related Info Window not displaying lookup values / integrate patch from Matheus Eduardo Marcelino (MatheusMarcelino)

This commit is contained in:
Carlos Ruiz 2019-07-31 21:15:57 +02:00
parent 497bf9d429
commit 96b9060618
2 changed files with 3 additions and 2 deletions

View File

@ -731,7 +731,7 @@ public class InfoWindow extends InfoPanel implements ValueChangeListener, EventL
//Xolali - add embeddedTbl to list, add m_sqlembedded to list
EmbedWinInfo ewinInfo = new EmbedWinInfo(embedInfo,embeddedTbl,m_sqlEmbedded,relatedInfo.getLinkColumnName(), relatedInfo.getLinkInfoColumn(), relatedInfo.getParentRelatedColumn_ID());
embeddedWinList.add(ewinInfo);
RelatedInfoWindow relatedInfoWindow = new RelatedInfoWindow(ewinInfo, this, embeddedPaging, s_sqlCount, s_layoutEmbedded);
RelatedInfoWindow relatedInfoWindow = new RelatedInfoWindow(ewinInfo, this, embeddedPaging, s_sqlCount, s_layoutEmbedded, editorMap);
relatedMap.put(embedInfo.getAD_InfoWindow_ID(), relatedInfoWindow);
MInfoWindow riw = (MInfoWindow) relatedInfo.getRelatedInfo();

View File

@ -87,7 +87,8 @@ public class RelatedInfoWindow implements EventListener<Event>, Sortable<Object>
* @param layoutEmbedded
*
*/
public RelatedInfoWindow(EmbedWinInfo info, InfoWindow infoWindow, Paging embeddedPaging, String infoSqlCount, ColumnInfo[] layoutEmbedded) {
public RelatedInfoWindow(EmbedWinInfo info, InfoWindow infoWindow, Paging embeddedPaging, String infoSqlCount, ColumnInfo[] layoutEmbedded, Map<String, WEditor> editorMap) {
this.editorMap = editorMap;
this.info = info;
parentInfoWindow = infoWindow;
this.paging = embeddedPaging;