} }  if (backgroundColor != null) { if (isValueReference(backgroundColor)) { ValueBinding vb = application.createValueBinding(backgroundColor);  component.setBackgroundColor(vb); } else { component.setBackgroundColor(backgroundColor);
	protected void setProperties(UIComponent uiComponent) {		if (LOG.isDebugEnabled()) {			if (DataColumnComponent.COMPONENT_TYPE==getComponentType()) {				LOG.debug("Component id='"+getId()+"' type='"+getComponentType()+"'.");			}			LOG.debug("  visible='"+visible+"'");			LOG.debug("  hiddenMode='"+hiddenMode+"'");			LOG.debug("  text='"+text+"'");			LOG.debug("  toolTipText='"+toolTipText+"'");			LOG.debug("  alignment='"+alignment+"'");			LOG.debug("  foregroundColor='"+foregroundColor+"'");			LOG.debug("  backgroundColor='"+backgroundColor+"'");			LOG.debug("  styleClass='"+styleClass+"'");			LOG.debug("  ascending='"+ascending+"'");			LOG.debug("  sortComparator='"+sortComparator+"'");			LOG.debug("  resizable='"+resizable+"'");			LOG.debug("  width='"+width+"'");			LOG.debug("  maxWidth='"+maxWidth+"'");			LOG.debug("  minWidth='"+minWidth+"'");			LOG.debug("  verticalAlign='"+verticalAlign+"'");			LOG.debug("  value='"+value+"'");			LOG.debug("  defaultCellImageURL='"+defaultCellImageURL+"'");			LOG.debug("  cellImageURL='"+cellImageURL+"'");			LOG.debug("  cellStyleClass='"+cellStyleClass+"'");			LOG.debug("  autoFilter='"+autoFilter+"'");		}		super.setProperties(uiComponent);		if ((uiComponent instanceof DataColumnComponent)==false) {			throw new IllegalStateException("Component specified by tag is not instanceof of 'DataColumnComponent'.");		}		DataColumnComponent component = (DataColumnComponent) uiComponent;		FacesContext facesContext = getFacesContext();		Application application = facesContext.getApplication();		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 (text != null) {			if (isValueReference(text)) {				ValueBinding vb = application.createValueBinding(text);				component.setText(vb);			} else {				component.setText(text);			}		}		if (toolTipText != null) {			if (isValueReference(toolTipText)) {				ValueBinding vb = application.createValueBinding(toolTipText);				component.setToolTipText(vb);			} else {				component.setToolTipText(toolTipText);			}		}		if (alignment != null) {			if (isValueReference(alignment)) {				ValueBinding vb = application.createValueBinding(alignment);				component.setAlignment(vb);			} else {				component.setAlignment(alignment);			}		}		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 (sortListeners != null) {			parseActionListener(application, component, SORT_LISTENER_TYPE, sortListeners);		}		if (styleClass != null) {			if (isValueReference(styleClass)) {				ValueBinding vb = application.createValueBinding(styleClass);				component.setStyleClass(vb);			} else {				component.setStyleClass(styleClass);			}		}		if (ascending != null) {			if (isValueReference(ascending)) {				ValueBinding vb = application.createValueBinding(ascending);				component.setAscending(vb);			} else {				component.setAscending(getBool(ascending));			}		}		if (sortComparator != null) {				ValueBinding vb = application.createValueBinding(sortComparator);				component.setSortComparator(vb);		}		if (resizable != null) {			if (isValueReference(resizable)) {				ValueBinding vb = application.createValueBinding(resizable);				component.setResizable(vb);			} else {				component.setResizable(getBool(resizable));			}		}		if (width != null) {			if (isValueReference(width)) {				ValueBinding vb = application.createValueBinding(width);				component.setWidth(vb);			} else {				component.setWidth(width);			}		}		if (maxWidth != null) {			if (isValueReference(maxWidth)) {				ValueBinding vb = application.createValueBinding(maxWidth);				component.setMaxWidth(vb);			} else {				component.setMaxWidth(getInt(maxWidth));			}		}		if (minWidth != null) {			if (isValueReference(minWidth)) {				ValueBinding vb = application.createValueBinding(minWidth);				component.setMinWidth(vb);			} else {				component.setMinWidth(getInt(minWidth));			}		}		if (verticalAlign != null) {			if (isValueReference(verticalAlign)) {				ValueBinding vb = application.createValueBinding(verticalAlign);				component.setVerticalAlign(vb);			} else {				component.setVerticalAlign(verticalAlign);			}		}		if (value != null) {			if (isValueReference(value)) {				ValueBinding vb = application.createValueBinding(value);				component.setValue(vb);			} else {				component.setValue(value);			}		}		if (defaultCellImageURL != null) {			if (isValueReference(defaultCellImageURL)) {				ValueBinding vb = application.createValueBinding(defaultCellImageURL);				component.setDefaultCellImageURL(vb);			} else {				component.setDefaultCellImageURL(defaultCellImageURL);			}		}		if (cellImageURL != null) {			if (isValueReference(cellImageURL)) {				ValueBinding vb = application.createValueBinding(cellImageURL);				component.setCellImageURL(vb);			} else {				component.setCellImageURL(cellImageURL);			}		}		if (cellStyleClass != null) {			if (isValueReference(cellStyleClass)) {				ValueBinding vb = application.createValueBinding(cellStyleClass);				component.setCellStyleClass(vb);			} else {				component.setCellStyleClass(cellStyleClass);			}		}		if (autoFilter != null) {			if (isValueReference(autoFilter)) {				ValueBinding vb = application.createValueBinding(autoFilter);				component.setAutoFilter(vb);			} else {				component.setAutoFilter(getBool(autoFilter));			}		}	if (converter != null) {		if (isValueReference(converter)) {			ValueBinding vb = application.createValueBinding(converter);			component.setConverter(vb);		} else {			component.setConverter(application.createConverter(converter));		}	}	}