The rich:inputNumberSpinner is a highly customizable component that is used to define a numeric input in a given range. It is rendered as a spinner control or you can enter the value in the input field.
Here is an example of default inputNumberSpinner:
Here is one more inputNumberSpinner:
<!DOCTYPE html> <ui:composition xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:a4j="http://richfaces.org/a4j" xmlns:rich="http://richfaces.org/rich"> <p>Here is an example of default inputNumberSpinner:</p> <rich:inputNumberSpinner value="50" /> <p>Here is one more inputNumberSpinner:</p> <rich:inputNumberSpinner value="50" step="10" /> </ui:composition>