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:
Heng Sin Low 2013-04-19 20:54:14 +08:00
parent c692c7e19e
commit f119515544
1 changed files with 5 additions and 2 deletions

View File

@ -216,10 +216,13 @@ ContextMenuListener, IZoomableEditor
private void createCacheListener() {
if (lookup != null) {
String columnName = lookup.getColumnName();
String tableName = columnName.substring(0, columnName.indexOf("."));
int dotIndex = columnName.indexOf(".");
if (dotIndex > 0) {
String tableName = columnName.substring(0, dotIndex);
tableCacheListener = new CCacheListener(tableName, this);
}
}
}
@Override
public String getDisplay()