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 integration | Yes | Mojarra 2.0.4-b09 was integrated on 2011-02-23 |
Auto-add FacesServlet | Yes | If 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 Validation | Yes | Hibernate Validator 4.0.1.Final is integrated with JSF as the bean validation provider. |
Legacy Facelets Apps | Yes | This 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 applciations | Unknown | It is unknown whether or not this works properly with current JSTL integration. |
JSTL | Unknown | JSTL was added to master, but since there is currently no shared-TLD support it is unknown whether or not this will work properly. |
JEE5 Injection | No | This 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 implementations | No | AS6 allowed you to plug in different JSF implementations. Currently in AS7, only one implementation is allowed. |
Integration Tests | No | Several 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