code: @Override
      public boolean getRendersChildren() {
          boolean value = super.getRendersChildren();
          FacesContext context = FacesContext.getCurrentInstance();
  
          if (context.getPartialViewContext().isAjaxRequest()) {
              value = true;
          }
          return value;
      }
docs: <p class="changed_added_2_0">Call {@link UIComponentBase#getRendersChildren}
  If {@link javax.faces.context.PartialViewContext#isAjaxRequest}
  returns <code>true</code> this method must return <code>true</code>.</p>
  
  @since 2.0