protected void setProperties(UIComponent component) {
		// the super class method should be called
		super.setProperties(component);
		if(style != null)
			component.getAttributes().put("style", style);
		
		if(class1 != null)
			component.getAttributes().put("class1", class1);
		
		if(rendered != null)
			component.getAttributes().put("rendered", rendered);
		
		if (title != null) {
			if (isValueReference(title)) {
				ValueBinding vb =
				getFacesContext().getApplication().
				createValueBinding(title);
				component.setValueBinding("title", vb);
			} else {
				component.getAttributes().put("title", title);
			}
		}
	}