code: public static void addClass2FacetComponent(UIComponent f, String cname, String aclass) {
  		// If the facet contains only one component, getChildCount()=0 and the
  		// Facet is the UIComponent
  		if (f.getClass().getName().endsWith(cname)) {
  			addClass2Component(f, aclass);
  		} else {
  			if (f.getChildCount() > 0) {
  				for (UIComponent c : f.getChildren()) {
  					if (c.getClass().getName().endsWith(cname)) {
  						addClass2Component(c, aclass);
  					}
  				}
  			}
  		}
  	}
docs: Adds a CSS class to a component within a facet.
  
  @param f
  the facet
  @param cname
  the class name of the component to be manipulated.
  @param aclass
  the CSS class to be added