if (fontBold != null) { if (isValueReference(fontBold)) { ValueBinding vb = application.createValueBinding(fontBold);  component.setFontBold(vb); } else { component.setFontBold(getBoolean(fontBold)); } }
	protected void setProperties(UIComponent uiComponent) {		if (LOG.isDebugEnabled()) {			LOG.debug("  height='"+height+"'");			LOG.debug("  width='"+width+"'");			LOG.debug("  visible='"+visible+"'");			LOG.debug("  hiddenMode='"+hiddenMode+"'");			LOG.debug("  helpMessage='"+helpMessage+"'");			LOG.debug("  helpURL='"+helpURL+"'");			LOG.debug("  toolTipText='"+toolTipText+"'");			LOG.debug("  disabled='"+disabled+"'");			LOG.debug("  valueLocked='"+valueLocked+"'");			LOG.debug("  tabIndex='"+tabIndex+"'");			LOG.debug("  y='"+y+"'");			LOG.debug("  x='"+x+"'");			LOG.debug("  lookId='"+lookId+"'");			LOG.debug("  marginRight='"+marginRight+"'");			LOG.debug("  marginLeft='"+marginLeft+"'");			LOG.debug("  marginTop='"+marginTop+"'");			LOG.debug("  marginBottom='"+marginBottom+"'");			LOG.debug("  foregroundColor='"+foregroundColor+"'");			LOG.debug("  backgroundColor='"+backgroundColor+"'");			LOG.debug("  textAlignment='"+textAlignment+"'");			LOG.debug("  immediate='"+immediate+"'");			LOG.debug("  styleClass='"+styleClass+"'");			LOG.debug("  fontSize='"+fontSize+"'");			LOG.debug("  fontBold='"+fontBold+"'");			LOG.debug("  fontUnderline='"+fontUnderline+"'");			LOG.debug("  fontItalic='"+fontItalic+"'");			LOG.debug("  fontName='"+fontName+"'");			LOG.debug("  accessKey='"+accessKey+"'");			LOG.debug("  margins='"+margins+"'");		}		super.setProperties(uiComponent);		if ((uiComponent instanceof AbstractInputComponent)==false) {			throw new IllegalStateException("Component specified by tag is not instanceof of 'AbstractInputComponent'.");		}		AbstractInputComponent component = (AbstractInputComponent) uiComponent;		FacesContext facesContext = getFacesContext();		Application application = facesContext.getApplication();		if (height != null) {			if (isValueReference(height)) {				ValueBinding vb = application.createValueBinding(height);				component.setHeight(vb);			} else {				component.setHeight(height);			}		}		if (width != null) {			if (isValueReference(width)) {				ValueBinding vb = application.createValueBinding(width);				component.setWidth(vb);			} else {				component.setWidth(width);			}		}		if (visible != null) {			if (isValueReference(visible)) {				ValueBinding vb = application.createValueBinding(visible);				component.setVisible(vb);			} else {				component.setVisible(getBoolean(visible));			}		}		if (hiddenMode != null) {			if (isValueReference(hiddenMode)) {				ValueBinding vb = application.createValueBinding(hiddenMode);				component.setHiddenMode(vb);			} else {				component.setHiddenMode(hiddenMode);			}		}		if (mouseOutListeners != null) {			parseActionListener(application, component, MOUSE_OUT_LISTENER_TYPE, mouseOutListeners);		}		if (mouseOverListeners != null) {			parseActionListener(application, component, MOUSE_OVER_LISTENER_TYPE, mouseOverListeners);		}		if (helpMessage != null) {			if (isValueReference(helpMessage)) {				ValueBinding vb = application.createValueBinding(helpMessage);				component.setHelpMessage(vb);			} else {				component.setHelpMessage(helpMessage);			}		}		if (helpURL != null) {			if (isValueReference(helpURL)) {				ValueBinding vb = application.createValueBinding(helpURL);				component.setHelpURL(vb);			} else {				component.setHelpURL(helpURL);			}		}		if (toolTipText != null) {			if (isValueReference(toolTipText)) {				ValueBinding vb = application.createValueBinding(toolTipText);				component.setToolTipText(vb);			} else {				component.setToolTipText(toolTipText);			}		}		if (disabled != null) {			if (isValueReference(disabled)) {				ValueBinding vb = application.createValueBinding(disabled);				component.setDisabled(vb);			} else {				component.setDisabled(getBool(disabled));			}		}		if (valueLocked != null) {			if (isValueReference(valueLocked)) {				ValueBinding vb = application.createValueBinding(valueLocked);				component.setValueLocked(vb);			} else {				component.setValueLocked(getBool(valueLocked));			}		}		if (tabIndex != null) {			if (isValueReference(tabIndex)) {				ValueBinding vb = application.createValueBinding(tabIndex);				component.setTabIndex(vb);			} else {				component.setTabIndex(getInteger(tabIndex));			}		}		if (y != null) {			if (isValueReference(y)) {				ValueBinding vb = application.createValueBinding(y);				component.setY(vb);			} else {				component.setY(y);			}		}		if (x != null) {			if (isValueReference(x)) {				ValueBinding vb = application.createValueBinding(x);				component.setX(vb);			} else {				component.setX(x);			}		}		if (lookId != null) {			if (isValueReference(lookId)) {				ValueBinding vb = application.createValueBinding(lookId);				component.setLookId(vb);			} else {				component.setLookId(lookId);			}		}		if (blurListeners != null) {			parseActionListener(application, component, BLUR_LISTENER_TYPE, blurListeners);		}		if (focusListeners != null) {			parseActionListener(application, component, FOCUS_LISTENER_TYPE, focusListeners);		}		if (marginRight != null) {			if (isValueReference(marginRight)) {				ValueBinding vb = application.createValueBinding(marginRight);				component.setMarginRight(vb);			} else {				component.setMarginRight(marginRight);			}		}		if (marginLeft != null) {			if (isValueReference(marginLeft)) {				ValueBinding vb = application.createValueBinding(marginLeft);				component.setMarginLeft(vb);			} else {				component.setMarginLeft(marginLeft);			}		}		if (marginTop != null) {			if (isValueReference(marginTop)) {				ValueBinding vb = application.createValueBinding(marginTop);				component.setMarginTop(vb);			} else {				component.setMarginTop(marginTop);			}		}		if (marginBottom != null) {			if (isValueReference(marginBottom)) {				ValueBinding vb = application.createValueBinding(marginBottom);				component.setMarginBottom(vb);			} else {				component.setMarginBottom(marginBottom);			}		}		if (foregroundColor != null) {			if (isValueReference(foregroundColor)) {				ValueBinding vb = application.createValueBinding(foregroundColor);				component.setForegroundColor(vb);			} else {				component.setForegroundColor(foregroundColor);			}		}		if (backgroundColor != null) {			if (isValueReference(backgroundColor)) {				ValueBinding vb = application.createValueBinding(backgroundColor);				component.setBackgroundColor(vb);			} else {				component.setBackgroundColor(backgroundColor);			}		}		if (keyPressListeners != null) {			parseActionListener(application, component, KEY_PRESS_LISTENER_TYPE, keyPressListeners);		}		if (keyDownListeners != null) {			parseActionListener(application, component, KEY_DOWN_LISTENER_TYPE, keyDownListeners);		}		if (keyUpListeners != null) {			parseActionListener(application, component, KEY_UP_LISTENER_TYPE, keyUpListeners);		}		if (textAlignment != null) {			if (isValueReference(textAlignment)) {				ValueBinding vb = application.createValueBinding(textAlignment);				component.setTextAlignment(vb);			} else {				component.setTextAlignment(textAlignment);			}		}		if (immediate != null) {			if (isValueReference(immediate)) {				ValueBinding vb = application.createValueBinding(immediate);				component.setImmediate(vb);			} else {				component.setImmediate(getBool(immediate));			}		}		if (userEventListeners != null) {			parseActionListener(application, component, USER_EVENT_LISTENER_TYPE, userEventListeners);		}		if (styleClass != null) {			if (isValueReference(styleClass)) {				ValueBinding vb = application.createValueBinding(styleClass);				component.setStyleClass(vb);			} else {				component.setStyleClass(styleClass);			}		}		if (propertyChangeListeners != null) {			parseActionListener(application, component, PROPERTY_CHANGE_LISTENER_TYPE, propertyChangeListeners);		}		if (fontSize != null) {			if (isValueReference(fontSize)) {				ValueBinding vb = application.createValueBinding(fontSize);				component.setFontSize(vb);			} else {				component.setFontSize(fontSize);			}		}		if (fontBold != null) {			if (isValueReference(fontBold)) {				ValueBinding vb = application.createValueBinding(fontBold);				component.setFontBold(vb);			} else {				component.setFontBold(getBoolean(fontBold));			}		}		if (fontUnderline != null) {			if (isValueReference(fontUnderline)) {				ValueBinding vb = application.createValueBinding(fontUnderline);				component.setFontUnderline(vb);			} else {				component.setFontUnderline(getBoolean(fontUnderline));			}		}		if (fontItalic != null) {			if (isValueReference(fontItalic)) {				ValueBinding vb = application.createValueBinding(fontItalic);				component.setFontItalic(vb);			} else {				component.setFontItalic(getBoolean(fontItalic));			}		}		if (fontName != null) {			if (isValueReference(fontName)) {				ValueBinding vb = application.createValueBinding(fontName);				component.setFontName(vb);			} else {				component.setFontName(fontName);			}		}		if (accessKey != null) {			if (isValueReference(accessKey)) {				ValueBinding vb = application.createValueBinding(accessKey);				component.setAccessKey(vb);			} else {				component.setAccessKey(accessKey);			}		}		if (initListeners != null) {			parseActionListener(application, component, INIT_LISTENER_TYPE, initListeners);		}		if (margins != null) {			if (isValueReference(margins)) {				throw new javax.faces.FacesException("Attribute 'margins' does not accept binding !");			}				component.setMargins(margins);		}		if (value != null) {			if (isValueReference(value)) {				ValueBinding vb = application.createValueBinding(value);				component.setValue(vb);			} else {				component.setValue(value);			}		}		if (converter != null) {			if (isValueReference(converter)) {				ValueBinding vb = application.createValueBinding(converter);				component.setConverter(vb);			} else {				component.setConverter(converter);			}		}	}