code: public static boolean renderBehaviorizedAttribute(
              FacesContext facesContext, ResponseWriter writer,
              String componentProperty, UIComponent component, String eventName,
              Collection<ClientBehaviorContext.Parameter> eventParameters,
              Map<String, List<ClientBehavior>> clientBehaviors,
              String htmlAttrName, String attributeValue) throws IOException
      {
          return renderBehaviorizedAttribute(facesContext, writer,
                  componentProperty, component,
                  component.getClientId(facesContext), eventName,
                  eventParameters, clientBehaviors, htmlAttrName, attributeValue);
      }
docs: Render an attribute taking into account the passed event,
  the component property and the passed attribute value for the component
  property. The event will be rendered on the selected htmlAttrName.
  
  @param facesContext
  @param writer
  @param componentProperty
  @param component
  @param eventName
  @param clientBehaviors
  @param htmlAttrName
  @param attributeValue
  @return
  @throws IOException