<!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="https://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;">
    Design of AS7 multi-JSF feature
</h3>
<span style="margin-bottom: 10px;">
    new comment by <a href="https://community.jboss.org/people/ssilvert">Stan Silvert</a> <a href="https://community.jboss.org/docs/DOC-47689#comment-10939">View all comments on this document</a>
</span>
<hr style="margin: 20px 0; border: none; background-color: #dadada; height: 1px;">

<div class="jive-rendered-content"><blockquote class="jive-quote"><p>Max Rydahl Andersen wrote:</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p>
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; <p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><div class="jive-rendered-content"><p>how would tooling know which jars to include/refer to for proper classpath setup ?</p></div><p>&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; </p></blockquote><p>The default is still the default.&#160; So for now, the default impl is the one in the "main" slots in the com.sun.jsf-impl and javax.faces.api modules.&#160; </p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>If the developer uses the <code class="jive-code jive-xml">JSF_CONFIG_NAME<span class="jive-xml-tag"> </span></code>context param, then you will use the jars in the slot specified.&#160; We have this problem already.&#160;&#160; In AS7.0.x forward, you can use the value of "Mojarra-1.2" to refer to the "1.2" slot that ships with AS7.&#160; I'm just reusing that context param to let you specify more slots.&#160; </p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>So the short answer for now is, you have to look at web.xml.</p><p style="min-height: 8pt; height: 8pt; padding: 0px;">&#160;</p><p>The next step in multi-JSF will be to add two attributes to the JSF subsystem.&#160; The first is a read-only attribute that lists all of the installed JSF implementations.&#160; The second is a read/write attribute that allows you to change the default JSF implementation.&#160; So I can imagine a tool that reads the list and presents the user with a choice of implementations.&#160; Then it fills in the context param appropriately.</p></div>

</td>
                        </tr>
                    </tbody>
                </table>


                </td>
            </tr>
        </tbody>
    </table>

</div>

</body>
</html>