Stan Silvert [
https://community.jboss.org/people/ssilvert] commented on the document
"Design of AS7 multi-JSF feature"
To view all comments on this document, visit:
https://community.jboss.org/docs/DOC-47689#comment-11484
--------------------------------------------------
These two related Jiras are about problems of integrating CDI with an installed JSF
implementation that is not the default.
https://issues.jboss.org/browse/AS7-1628 https://issues.jboss.org/browse/AS7-1628
https://issues.jboss.org/browse/AS7-6129 https://issues.jboss.org/browse/AS7-6129
There is a workaround, however. If I remember correctly, the workaround is to change the
JSF impl that Weld is looking at. Go into modules/org/jboss/as/weld/main/modules.xml and
add your slot to the JSF API.
<module name="javax.faces.api" slot="myfaces-2.1.10"/>
Note that with this change you can only use Weld/CDI with one JSF impl at a time. This
limitation is slated to be fixed in AS7.2.x.
--------------------------------------------------