Create new RichFaces Documentation Jira issue

This will launch the RichFaces Jira page - to complete your feedback please login if needed, and submit the Jira.

JBoss.orgCommunity Documentation

Chapter 5. Component usage overview

After the <inputDate> component has been created you could use it on a page. Create a simple JSF project, called myapp for example, with only one JSP page that has a form with our <inputDate> component.

Here is the necessary page (index.jsp):

<%@ taglib uri="" prefix="h"%>
<%@ taglib uri="" prefix="f"%>
<%@ taglib uri="" prefix="my"%>
        <title>My inputDate</title> 
                <my:inputDate value="#{bean.text}">
                    <f:facet name="caption">
                <h:commandButton value="Submit" />

In order to build this application, you should create a managed bean:

package app;
public class Bean {
    private String text = null;
    public Bean() {
    public String getText() {
        return text;
    public void setText(String text) {
        this.text = text;

It is necessary to register your bean inside of the faces-config.xml file:

<?xml version="1.0" encoding="UTF-8"?>

It is also necessary to take following steps:

Finally, you should be able to place this application on your Web server. To start your project, point your browser at http://localhost:8080/myapp/index.jsf.