I'm creating a simple JSF/Facelets component, useful to specify time intervals:
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:c="http://java.sun.com/jstl/core"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:rich="http://richfaces.org/rich"
xmlns:a4j="http://richfaces.org/a4j"
xmlns:t="http://myfaces.apache.org/tomahawk"
xmlns="http://www.w3.org/1999/xhtml"
xmlns:jstl="http://java.sun.com/jsp/jstl/functions" version="2.0">
<ui:component>
<h:panelGrid columns="2" cellpadding="2">
<rich:inputNumberSpinner value="#{durationBean.duration}"/>
...