How to upgrade to 1.1.3

How to upgrade to version 1.1.3 of !MyFaces/Tomahawk with JBOSS

1. Update libraries:

2. Update web.xml

        <servlet>
            <servlet-name>SourceCodeServlet</servlet-name>
            <servlet-class>org.apache.myfaces.shared_tomahawk.util.servlet.SourceCodeServlet</servlet-class>
        </servlet>

            <filter-class>org.apache.myfaces.component.html.util.ExtensionsFilter</filter-class>

            <filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>

        <filter-mapping>
                <filter-name>extensionsFilter</filter-name>
                <url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
                </filter-mapping>

        <filter-mapping>
                <filter-name>extensionsFilter</filter-name>
                <url-pattern>*.jsf</url-pattern>
        </filter-mapping>

        <filter-mapping>
                <filter-name>extensionsFilter</filter-name>
                <url-pattern>*.jsp</url-pattern>
        </filter-mapping>

3. Update jsp-pages

                        <html>
                                 <body>
                                        <h:form>
                                                        ....
                                                        ....
                                        </h:form>
                                 </body>
                        </html>

4. GOOD TO GO! :)

5. POSSIBLE ERRORS/EXCEPTIONS THAT MIGHT OCCUR:

From_1.1.1_to_1.1.3_with_Jboss (last edited 2009-09-20 23:02:00 by localhost)