Fixed lookup of form extension.
This commit is contained in:
parent
c75089559b
commit
470a5235a3
|
@ -11,7 +11,7 @@ public class Client {
|
||||||
if (Core.isExtension(className))
|
if (Core.isExtension(className))
|
||||||
className = className.substring(Core.OSGI_PREFIX.length());
|
className = className.substring(Core.OSGI_PREFIX.length());
|
||||||
ServiceQuery query = new ServiceQuery();
|
ServiceQuery query = new ServiceQuery();
|
||||||
query.put("id", className);
|
query.put(ServiceQuery.EXTENSION_ID, className);
|
||||||
return Service.locate(FormPanel.class, "org.adempiere.apps.Form", query);
|
return Service.locate(FormPanel.class, "org.adempiere.apps.Form", query);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue