JBoss Community

JSF on AS7

created by Stan Silvert in JBoss AS7 Development - View the full document

This article documents the current status of JSF integration on AS7.  It is expected that this document will evolve from being a status page to an informal documentation page.  Then it will be deprecated in favor of the official documentation.

 

JSF Feature Status

 

Feature
Working in Master
Notes
Basic JSF integrationYesMojarra 2.0.4-b09 was integrated on 2011-02-23
Auto-add FacesServletYesIf no FacesServlet specified in web.xml it will be automatically added according to the new rules in the FacesServlet javadoc.  This is slightly different from the auto-add feature in AS6.
Bean ValidationYesHibernate Validator 4.0.1.Final is integrated with JSF as the bean validation provider.
Legacy Facelets AppsYesThis refers to older JSF applications that use the JSF 1.x version of Facelets.  It is known to work as long as you set com.sun.faces.validateXml=false as shown in JBAS-8909
JSP-based JSF applciationsUnknownIt is unknown whether or not this works properly with current JSTL integration.
JSTLUnknownJSTL was added to master, but since there is currently no shared-TLD support it is unknown whether or not this will work properly.
JEE5 InjectionNoThis hasn't been properly investigated yet, but it probably doesn't work.  @PostCreate and @PreDestroy do work currently but it's doubtful that the other annotations are being recognized.
Multi-JSF implementationsNoAS6 allowed you to plug in different JSF implementations.  Currently in AS7, only one implementation is allowed.
Integration TestsNoSeveral integration tests have been developed but we are working to get JSFUnit running on AS7 before we can commit them to Master.  Right now they have to be run by hand.

 

JSF-related Jiras for AS7:

JBAS-8876 Add JSF to AS7

JBAS-8908 AS6 ZipException now seen in AS7

JBAS-8909 TransformerConfigurationException when reading faces-config.xml

Comment by going to Community

Create a new document in JBoss AS7 Development at Community