Hans Bakker wrote:
> Hi Scott,
> 
> i have a solution which is already used a couple of times in the system:
> 
> <set field="projectMgrExists"
> value="${groovy:org.ofbiz.base.component.ComponentConfig.componentExists(&quot;projectmgr&quot;)}"/>
> 
> this statement will check if the projectmgr component exists in a form.
> 
> would that help?

No.

Create an abstract class or interface in framework, use the java
services api to load it dynamically(or read from a database table, and
populate it with seed data).

Any reference in framework to anything outside of framework, even if
surrounded by a condition, is not allowed.

Reply via email to