Fixed lookup of form extension.

This commit is contained in:
Heng Sin Low 2010-11-04 03:52:33 +08:00
parent c75089559b
commit 470a5235a3
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ public class Client {
if (Core.isExtension(className))
className = className.substring(Core.OSGI_PREFIX.length());
ServiceQuery query = new ServiceQuery();
query.put("id", className);
query.put(ServiceQuery.EXTENSION_ID, className);
return Service.locate(FormPanel.class, "org.adempiere.apps.Form", query);
}