protected String makeTldTagName(String componentFamily,String rendererType){
  if (componentFamily == null) {
    return null;
  }
  if (rendererType.startsWith("resource.")) {
    rendererType=rendererType.split("\\.")[1];
  }
  String tagName=Character.toLowerCase(componentFamily.charAt(0)) + componentFamily.substring(1);
  if (rendererType == null || componentFamily.equals(rendererType)) {
    return tagName;
  }
 else {
    return (tagName + rendererType);
  }
}

protected String makeTldTagName ( String componentFamily , String rendererType ) { if ( componentFamily == null ) { return null ; } if ( rendererType . startsWith ( "resource." ) ) { rendererType = rendererType . split ( "\\." ) [ 1 ] ; } String tagName = Character . toLowerCase ( componentFamily . charAt ( 0 ) ) + componentFamily . substring ( 1 ) ; if ( rendererType == null || componentFamily . equals ( rendererType ) ) { return tagName ; } else { return ( tagName + rendererType ) ; } }
build the tag name from componentfamily and renderertype . the name will be " camel case " .
