IDEMPIERE-460 Integrate and migrate 3e services. Added lookup support for web services to ease the building of idempiere web service client in webui or swing.
This commit is contained in:
parent
c692c7e19e
commit
f119515544
|
@ -216,8 +216,11 @@ ContextMenuListener, IZoomableEditor
|
|||
private void createCacheListener() {
|
||||
if (lookup != null) {
|
||||
String columnName = lookup.getColumnName();
|
||||
String tableName = columnName.substring(0, columnName.indexOf("."));
|
||||
tableCacheListener = new CCacheListener(tableName, this);
|
||||
int dotIndex = columnName.indexOf(".");
|
||||
if (dotIndex > 0) {
|
||||
String tableName = columnName.substring(0, dotIndex);
|
||||
tableCacheListener = new CCacheListener(tableName, this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue