Use StateManagementStrategy
Apache 2.0Methods that were removed from the jakarta.faces.application.StateManager and javax.faces.application.StateManager classes in Jakarta Faces 3.0 are replaced by jakarta.faces.view.StateManagementStrategy or javax.faces.view.StateManagementStrategy based on JakartaEE9 migration in Faces 3.0
com. oracle. weblogic. rewrite. jakarta. RemovedStateManagerMethods3mod run . --recipe= com. oracle. weblogic. rewrite. jakarta. RemovedStateManagerMethods3Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.
Recipe list
It runs these recipes, in this order.
- Change method name
*.faces.application.StateManager getComponentStateToSave(*.faces.context.FacesContext)tosaveView - Change method name
*.faces.application.StateManager getTreeStructureToSave(*.faces.context.FacesContext)tosaveView - Change method name
*.faces.application.StateManager restoreComponentState(*.faces.context.FacesContext,*.faces.component.UIViewRoot,String)torestoreView - Change method name
*.faces.application.StateManager restoreTreeStructure(*.faces.context.FacesContext,String,String)torestoreView - Change method name
*.faces.application.StateManager saveSerializedView(*.faces.context.FacesContext)tosaveView - Change type
StateManagertoStateManagementStrategy - Change type
StateManagertoStateManagementStrategy