code: protected void setGhostValue(I_CmsFormField field, String value, boolean ghostMode) {
  
          I_CmsFormWidget widget = field.getWidget();
          if ((widget instanceof I_CmsHasGhostValue) && (value != null)) {
              ((I_CmsHasGhostValue)widget).setGhostValue(value, ghostMode);
          }
      }
docs: Sets the ghost value for a form field if its normal value is empty and the field's widget supports ghost values.<p>
  
  @param field the form field
  @param value the ghost value to set
  @param ghostMode if true, sets the widget to ghost mode