JBoss Community

JSF on AS7

modified 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
JSF 2.1 SupportNoJSF 2.1 put off until at least Beta 3
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.  All issues resolved.
JSP-based JSF applciationsNoTLD processing works now.  Just need JBAS-9064.
JSTLYesFixed in Beta 2.
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 TestsPartialSeveral integration tests have been developed but we haven't had time to get them into the build.  JSFUnit is working on As7 now and we have a JSF smoke test.

 

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

JBAS-8916 Need shared TLD's for JSTL and JSF

JBAS-9064 Register JSF EL Resolvers with JSP

JBAS-9022 Changing web context with jboss-web.xml causes error in JSF

JBAS-9125 Upgrade JSF to spec level 2.1

Comment by going to Community

Create a new document in JBoss AS7 Development at Community