public static void removeCompositeComponentForResolver ( FacesContext facesContext ) { List < UIComponent > list = ( List < UIComponent > ) facesContext . getAttributes ( ) . get ( CURRENT_COMPOSITE_COMPONENT_KEY ) ; if ( list != null ) { list . remove ( list . size ( ) - 1 ) ; } }
Removes the composite component from the attribute map of the FacesContext .