<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<body link="#355491" alink="#4262a1" vlink="#355491" style="background: #e2e2e2; margin: 0; padding: 20px;">
<div>
        <table cellpadding="0" bgcolor="#FFFFFF" border="0" cellspacing="0" style="border: 1px solid #dadada; margin-bottom: 30px; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                <tbody>
                        <tr>
                                <td>
                                        <table border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border: solid 2px #ccc; background: #dadada; width: 100%; -moz-border-radius: 6px; -webkit-border-radius: 6px;">
                                                <tbody>
                                                        <tr>
                                                                <td bgcolor="#000000" valign="middle" height="58px" style="border-bottom: 1px solid #ccc; padding: 20px; -moz-border-radius-topleft: 3px; -moz-border-radius-topright: 3px; -webkit-border-top-right-radius: 5px; -webkit-border-top-left-radius: 5px;">
                                                                        <h1 style="color: #333333; font: bold 22px Arial, Helvetica, sans-serif; margin: 0; display: block !important;">
                                                                        <!-- To have a header image/logo replace the name below with your img tag -->
                                                                        <!-- Email clients will render the images when the message is read so any image -->
                                                                        <!-- must be made available on a public server, so that all recipients can load the image. -->
                                                                        <a href="http://community.jboss.org/index.jspa" style="text-decoration: none; color: #E1E1E1">JBoss Community</a></h1>
                                                                </td>
                                                        </tr>
                                                        <tr>
                                                                <td bgcolor="#FFFFFF" style="font: normal 12px Arial, Helvetica, sans-serif; color:#333333; padding: 20px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px;"><h3 style="margin: 10px 0 5px; font-size: 17px; font-weight: normal;">
JSF on AS7
</h3>
<span style="margin-bottom: 10px;">
modified by <a href="http://community.jboss.org/people/ssilvert">Stan Silvert</a> in <i>JBoss AS7 Development</i> - <a href="http://community.jboss.org/docs/DOC-16546">View the full document</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">
<div class="jive-rendered-content"><p>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.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><strong style="font-size: 14pt;">JSF Feature Status</strong></p><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><table border="1" cellpadding="3" cellspacing="0" class="jiveBorder" style="width: 100%; border: 1px solid #000000;"><tbody><tr><th align="center" style="background-color: #6690bc;; border: 1px solid #000000;background-color: #6690bc;" valign="middle"><span style="color: #ffffff;"><strong>Feature<br/></strong></span></th><th align="center" style="background-color: #6690bc;; border: 1px solid #000000;background-color: #6690bc;" valign="middle"><span style="color: #ffffff;"><strong>Working in Master<br/></strong></span></th><th align="center" style="background-color: #6690bc;; border: 1px solid #000000;background-color: #6690bc;" valign="middle"><span style="color: #ffffff;"><strong>Notes<br/></strong></span></th></tr><tr><td style="border: 1px solid #000000;">Basic JSF integration</td><td style="border: 1px solid #000000;">Yes</td><td style="border: 1px solid #000000;">Mojarra 2.0.4-b09 was integrated on 2011-02-23</td></tr><tr><td style="border: 1px solid #000000;">Auto-add FacesServlet</td><td style="border: 1px solid #000000;">Yes</td><td style="border: 1px solid #000000;">If no FacesServlet specified in web.xml it will be automatically added according to the new rules in the <a class="jive-link-external-small" href="http://download.oracle.com/javaee/6/api/javax/faces/webapp/FacesServlet.html">FacesServlet javadoc</a>.  This is slightly different from the auto-add feature in AS6.</td></tr><tr><td style="border: 1px solid #000000;">Bean Validation</td><td style="border: 1px solid #000000;">Yes</td><td style="border: 1px solid #000000;">Hibernate Validator 4.0.1.Final is integrated with JSF as the bean validation provider.</td></tr><tr><td style="border: 1px solid #000000;">Legacy Facelets Apps</td><td style="border: 1px solid #000000;">Yes</td><td style="border: 1px solid #000000;">This refers to older JSF applications that use the JSF 1.x version of Facelets.  All issues resolved.</td></tr><tr><td style="border: 1px solid #000000;">JSP-based JSF applciations</td><td style="border: 1px solid #000000;">No</td><td style="border: 1px solid #000000;">TLD processing works now.  Just need <a class="jive-link-external-small" href="https://issues.jboss.org/browse/JBAS-9064">JBAS-9064</a>.</td></tr><tr><td style="border: 1px solid #000000;">JSTL</td><td style="border: 1px solid #000000;">Yes</td><td style="border: 1px solid #000000;">Fixed in Beta 2.</td></tr><tr><td style="border: 1px solid #000000;">JEE5 Injection</td><td style="border: 1px solid #000000;">No</td><td style="border: 1px solid #000000;">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.</td></tr><tr><td style="border: 1px solid #000000;">Multi-JSF implementations</td><td style="border: 1px solid #000000;">No</td><td style="border: 1px solid #000000;">AS6 allowed you to plug in different JSF implementations.  Currently in AS7, only one implementation is allowed.</td></tr><tr><td style="border: 1px solid #000000;">Integration Tests</td><td style="border: 1px solid #000000;">No</td><td style="border: 1px solid #000000;">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.</td></tr></tbody></table><p style="min-height: 8pt; height: 8pt; padding: 0px;"> </p><p><strong style="font-size: 14pt;">JSF-related Jiras for AS7:</strong></p><p><span style="text-decoration: line-through;"><a class="jive-link-external-small" href="https://issues.jboss.org/browse/JBAS-8876">JBAS-8876</a> Add JSF to AS7</span></p><p><a class="jive-link-external-small" href="https://issues.jboss.org/browse/JBAS-8908">JBAS-8908</a> AS6 ZipException now seen in AS7</p><p><span style="text-decoration: line-through;"><a class="jive-link-external-small" href="https://issues.jboss.org/browse/JBAS-8909">JBAS-8909</a> TransformerConfigurationException when reading faces-config.xml</span></p><p><span style="text-decoration: line-through;"><a class="jive-link-external-small" href="https://issues.jboss.org/browse/JBAS-8916">JBAS-8916</a> Need shared TLD's for JSTL and JSF</span></p><p><a class="jive-link-external-small" href="https://issues.jboss.org/browse/JBAS-9064">JBAS-9064</a> Register JSF EL Resolvers with JSP</p><p><a class="jive-link-external-small" href="https://issues.jboss.org/browse/JBAS-9022">JBAS-9022</a> Changing web context with jboss-web.xml causes error in JSF</p></div>
<div style="background-color: #f4f4f4; padding: 10px; margin-top: 20px;">
<p style="margin: 0;">Comment by <a href="http://community.jboss.org/docs/DOC-16546">going to Community</a></p>
        <p style="margin: 0;">Create a new document in JBoss AS7 Development at <a href="http://community.jboss.org/choose-container!input.jspa?contentType=102&containerType=14&container=2225">Community</a></p>
</div></td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>