docs: @Override
      public void encodeEnd(FacesContext facesContext, UIComponent component) throws IOException
      {
          super.encodeEnd(facesContext, component); // check for NP
          
          Map<String, List<ClientBehavior>> behaviors = null;
          if (component instanceof ClientBehaviorHolder)
          {
              behaviors = ((ClientBehaviorHolder) component).getClientBehaviors();
              if (!behaviors.isEmpty())
              {
                  ResourceUtils.renderDefaultJsfJsInlineIfNecessary(facesContext, facesContext.getResponseWriter());
              }
          }
          
          renderMessage(facesContext, component, false, true);
      }