CAF.Tooltip Class
You can programmatically attach a tool tip to any HTML element. The following code attaches a tool tip with the text "This control does something." to the control with the ID myControlId:
CAF.Tooltip.attachHover("#{activePageBean.clientIds['myControlId']}",
"This control does something.");