[jboss-dev-forums] [JBoss AS 7 Development] - Design of AS7 multi-JSF feature

Stan Silvert do-not-reply at jboss.com
Tue Jan 29 07:31:08 EST 2013


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.
--------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20130129/11dee4bc/attachment.html 


More information about the jboss-dev-forums mailing list