docs: protected void renderInputBegin(FacesContext facesContext,
              UIComponent uiComponent) throws IOException
      {
          ResponseWriter writer = facesContext.getResponseWriter();
          
          writer.startElement(HTML.INPUT_ELEM, uiComponent);
          writer.writeAttribute(HTML.TYPE_ATTR, org.apache.myfaces.shared.renderkit.html.HTML.INPUT_TYPE_PASSWORD, null);
  
          if (uiComponent instanceof ClientBehaviorHolder
                  && !((ClientBehaviorHolder) uiComponent).getClientBehaviors().isEmpty())
          {
              writer.writeAttribute(HTML.ID_ATTR, 
                                    uiComponent.getClientId(facesContext), null);
          }
          else
          {
              HtmlRendererUtils.writeIdIfNecessary(writer, uiComponent, facesContext);
          }
          writer.writeAttribute(HTML.NAME_ATTR,
                                uiComponent.getClientId(facesContext), null);
  
          boolean isRedisplay;
          if (uiComponent instanceof HtmlInputSecret)
          {
              isRedisplay = ((HtmlInputSecret)uiComponent).isRedisplay();
          }
          else
          {
              isRedisplay = org.apache.myfaces.shared.renderkit.RendererUtils.getBooleanAttribute(uiComponent, 
                      JSFAttr.REDISPLAY_ATTR, false);
          }
          if (isRedisplay)
          {
              String strValue = RendererUtils.getStringValue(facesContext, uiComponent);
              writer.writeAttribute(HTML.VALUE_ATTR, strValue, JSFAttr.VALUE_ATTR);
          }
  
          Map<String, List<ClientBehavior>> behaviors = null;
          if (uiComponent instanceof ClientBehaviorHolder)
          {
              behaviors = ((ClientBehaviorHolder) uiComponent).getClientBehaviors();
              
              long commonPropertiesMarked = 0L;
              if (isCommonPropertiesOptimizationEnabled(facesContext))
              {
                  commonPropertiesMarked = CommonPropertyUtils.getCommonPropertiesMarked(uiComponent);
              }
              if (behaviors.isEmpty() && isCommonPropertiesOptimizationEnabled(facesContext))
              {
                  CommonPropertyUtils.renderChangeEventProperty(writer, 
                          commonPropertiesMarked, uiComponent);
                  CommonPropertyUtils.renderEventProperties(writer, 
                          commonPropertiesMarked, uiComponent);
                  CommonPropertyUtils.renderFieldEventPropertiesWithoutOnchange(writer, 
                          commonPropertiesMarked, uiComponent);
              }
              else
              {
                  HtmlRendererUtils.renderBehaviorizedOnchangeEventHandler(facesContext, writer, uiComponent, behaviors);
                  if (isCommonEventsOptimizationEnabled(facesContext))
                  {
                      Long commonEventsMarked = CommonEventUtils.getCommonEventsMarked(uiComponent);
                      CommonEventUtils.renderBehaviorizedEventHandlers(facesContext, writer, 
                              commonPropertiesMarked, commonEventsMarked, uiComponent, behaviors);
                      CommonEventUtils.renderBehaviorizedFieldEventHandlersWithoutOnchange(
                          facesContext, writer, commonPropertiesMarked, commonEventsMarked, uiComponent, behaviors);
                  }
                  else
                  {
                      HtmlRendererUtils.renderBehaviorizedEventHandlers(facesContext, writer, uiComponent, behaviors);
                      HtmlRendererUtils.renderBehaviorizedFieldEventHandlersWithoutOnchange(
                              facesContext, writer, uiComponent, behaviors);
                  }
              }
              if (isCommonPropertiesOptimizationEnabled(facesContext))
              {
                  CommonPropertyUtils.renderInputPassthroughPropertiesWithoutDisabledAndEvents(writer, 
                          commonPropertiesMarked, uiComponent);
              }
              else
              {
                  HtmlRendererUtils.renderHTMLAttributes(writer, uiComponent, 
                          HTML.INPUT_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED_AND_EVENTS);
              }
          }
          else
          {
              if (isCommonPropertiesOptimizationEnabled(facesContext))
              {
                  CommonPropertyUtils.renderInputPassthroughPropertiesWithoutDisabled(writer, 
                          CommonPropertyUtils.getCommonPropertiesMarked(uiComponent), uiComponent);
              }
              else
              {
                  HtmlRendererUtils.renderHTMLAttributes(writer, uiComponent, 
                          HTML.INPUT_PASSTHROUGH_ATTRIBUTES_WITHOUT_DISABLED);
              }
          }
  
          if (isDisabled(facesContext, uiComponent))
          {
              writer.writeAttribute(HTML.DISABLED_ATTR, Boolean.TRUE, null);
          }
  
          if (isAutocompleteOff(facesContext, uiComponent))
          {
              writer.writeAttribute(HTML.AUTOCOMPLETE_ATTR, AUTOCOMPLETE_VALUE_OFF, HTML.AUTOCOMPLETE_ATTR);
          }
      }