org.richfaces.Watermark org.richfaces.Watermark org.richfaces.component.html.HtmlWatermark org.richfaces.component.UIWatermark org.richfaces.component.renderkit.html.WatermarkRenderer watermark org.richfaces.taglib.WatermarkTag org.ajax4jsf.webapp.taglib.HtmlComponentTagBase org.richfaces.taglib.WatermarkTagHandler com.sun.facelets.tag.jsf.ComponentHandler &ui_output_attributes; styleClass java.lang.String Assigns one or more CSS class names to the component. Corresponds to the HTML "class" attribute. suffix java.lang.String Use this if watermark should be attached to element with id different then component id. i.e.: rich:comboBox with id="combo" nested in form with id="f" renders input with clientId="f:combocomboboxField" So in order to attach watermark to that element provide suffix="comboboxField". for java.lang.String Use this if watermark cannot be nested within come components i.e. in calendar. Example 1: rich:calendar with id="c" nested in form with id="f" renders input with clientId="f:cInputDate". rich:calendar also gets messed up if watermark is nested within, so place it outside of calendar. So in order to attach watermark to that element provide for="c" suffix="InputDate". Example 2: watermark should be attached to pure html input (not jsf component) with id="htmlInput". To achieve this provide for="htmlInput".