} }  if (hiddenMode != null) { if (isValueReference(hiddenMode)) { ValueBinding vb = application.createValueBinding(hiddenMode);  component.setHiddenMode(vb); } else { component.setHiddenMode(hiddenMode);
	protected void setProperties(UIComponent uiComponent) {		if (LOG.isDebugEnabled()) {			if (UIImageItemComponent.COMPONENT_TYPE==getComponentType()) {				LOG.debug("Component id='"+getId()+"' type='"+getComponentType()+"'.");			}			LOG.debug("  visible='"+visible+"'");			LOG.debug("  hiddenMode='"+hiddenMode+"'");			LOG.debug("  toolTipText='"+toolTipText+"'");			LOG.debug("  imageURL='"+imageURL+"'");			LOG.debug("  disabledImageURL='"+disabledImageURL+"'");			LOG.debug("  hoverImageURL='"+hoverImageURL+"'");			LOG.debug("  selectedImageURL='"+selectedImageURL+"'");			LOG.debug("  rendered='"+rendered+"'");		}		super.setProperties(uiComponent);		if ((uiComponent instanceof UIImageItemComponent)==false) {			throw new IllegalStateException("Component specified by tag is not instanceof of 'UIImageItemComponent'.");		}		UIImageItemComponent component = (UIImageItemComponent) 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 (toolTipText != null) {			if (isValueReference(toolTipText)) {				ValueBinding vb = application.createValueBinding(toolTipText);				component.setToolTipText(vb);			} else {				component.setToolTipText(toolTipText);			}		}		if (imageURL != null) {			if (isValueReference(imageURL)) {				ValueBinding vb = application.createValueBinding(imageURL);				component.setImageURL(vb);			} else {				component.setImageURL(imageURL);			}		}		if (disabledImageURL != null) {			if (isValueReference(disabledImageURL)) {				ValueBinding vb = application.createValueBinding(disabledImageURL);				component.setDisabledImageURL(vb);			} else {				component.setDisabledImageURL(disabledImageURL);			}		}		if (hoverImageURL != null) {			if (isValueReference(hoverImageURL)) {				ValueBinding vb = application.createValueBinding(hoverImageURL);				component.setHoverImageURL(vb);			} else {				component.setHoverImageURL(hoverImageURL);			}		}		if (selectedImageURL != null) {			if (isValueReference(selectedImageURL)) {				ValueBinding vb = application.createValueBinding(selectedImageURL);				component.setSelectedImageURL(vb);			} else {				component.setSelectedImageURL(selectedImageURL);			}		}		if (rendered != null) {			if (isValueReference(rendered)) {				ValueBinding vb = application.createValueBinding(rendered);				component.setVisible(vb);			} else {				component.setVisible(getBoolean(rendered));			}		}	}