-
Enhancement
-
Resolution: Obsolete
-
Blocker
-
2.0.0.Alpha1
-
None
-
None
The UI API has a UIInputProducer, which produces UIInput objects based on the injection point (Parameterized name used, attribute name, etc).
However, when developing an addon which @Inject UIInput<String> firstname for example, the following error is thrown:
Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [UIInput<String>] with qualifiers [@Default] at injection point [[UnbackedAnnotatedField] @Inject private org.jboss.forge.ui.MyFirstWizard.firstName]
This is due the fact that you can't inject between containers unless it's @Remote. Forge 2 should support registration of a global producer, which just adds that producer to all addons on which it is depended