private static int getDefaultLabelWidth(
FacesContext facesContext, UIComponent component) {
int width = 0;
try {
InputRendererBase renderer = (InputRendererBase)
ComponentUtil.getRenderer(facesContext, UIInput.COMPONENT_FAMILY,
RENDERER_TYPE_IN);
width = renderer.getLabelWidth(facesContext, component);
} catch (Exception e) {
if (LOG.isWarnEnabled()) {
LOG.warn("can't find Label Width", e);
}
}