I’m Using rich faces 4
I’m using input number slider
<rich:inputNumberSlider value="10" width="500" minValue="1" maxValue="30" step="1" showInput="false" enableManualInput="false" showArrows="false" tooltipClass="" showTooltip="true" label="Days" />
i want to add word “Days” in the tool tip , to be “10 Days” instead of “10” .
RichFaces API on
<rich:inputNumberSlider>says:In short – label is used in all components as a parameter for jsf messages.
I have looked into richfaces sources for
<rich:inputNumberSlider>ui javascript. It is possible to change javascript in certain places, adding hardcoded ‘Days’ string. To achieve this I can’t think of any other options than recompiling the sources.I suggest specifying somewhere else, that this slider measures days.