question: private void saveDynamicActions ( FacesContext context , StateContext stateContext , Map < String , Object > stateMap ) { if ( LOGGER . isLoggable ( Level . FINEST ) ) { LOGGER . finest ( "FaceletPartialStateManagementStrategy.saveDynamicActions" ) ; } List < ComponentStruct > actions = stateContext . getDynamicActions ( ) ; HashMap < String , UIComponent > componentMap = stateContext . getDynamicComponents ( ) ; if ( actions != null ) { List < Object > savedActions = new ArrayList < > ( actions . size ( ) ) ; for ( ComponentStruct action : actions ) { UIComponent component = componentMap . get ( action . clientId ) ; if ( component == null && context . isProjectStage ( ProjectStage . Development ) ) { LOGGER . log ( Level . WARNING , "Unable to save dynamic action with clientId ''{0}'' because the UIComponent cannot be found" , action . clientId ) ; } if ( component != null ) { savedActions . add ( action . saveState ( context ) ) ; } } stateMap . put ( DYNAMIC_ACTIONS , savedActions ) ; } }
target:  Save the dynamic actions.