Necessary steps to migrate applications from MyFaces 0.4.x to 0.9.x =================================================================== Mandatory steps --------------- * change tags to * replace all key/bundle attribute pairs by the corresponding value binding e.g. old: new: * replace all valueRef attributes by the corresponding value binding e.g. old: new: * in all tags rename "formName" attributes to "name" * rename tags to * remove all "commandName" attributes in and tags * replace all actionRef attributes by the corresponding action method binding e.g. old: new: Note: In this example we must also change the old getJumpHomeAction method to a method with the following signature: public String jumpHome() * rename tags to and change attributes: layoutRef --> layout with value binding syntax panelClass --> styleClass * rename tags to and change attributes: bundle --> no longer supported/needed panelClass --> styleClass * rename tags to and change attributes: key --> value commandClass --> styleClass * rename tags to * alter and values of navigation rules: use .jsp extension instead of .jsf * rename tags to and change attributes: label --> itemLabel * rename tags to * tables: see example simpleList.jsp removed: new tag: (containing facet header and footer) rename: --> panel_list@panelClass --> data_table@styleClass new attributes: panel_list@var panel_list@value model bean-property: Iterator is not supported anymore, use java.util.List * rename tags to * rename tags to and change attributes: label --> value * rename tags to * outputClass attribute in message -> styleClass * panelClass attribute in panel_grid -> styleClass * rename to faces-config ------------ * navigation-rules: replace x.y by #{x.y} Optional steps (deprecated features) ------------------------------------ * The following web.xml init parameters can be removed: myfaces_WrapPageContext - did not work with all JSP containers and is obsolete with Tomcat 5 myfaces_DefaultLanguage - no longer needed myfaces_LogLevel - no longer needed myfaces_AutoCreateRequestScopeBeans - no longer needed myfaces_ServletMappingMode - no longer needed myfaces_DiscardInternalAttributes - no longer needed