3 Replies Latest reply on Jan 9, 2008 12:03 PM by Joe Dean

    RichFaces Calendar Component Not Working for JSP

    Joe Dean Newbie

      I am trying to use the calendar component in a JSP page using JBoss Seam 2.0. It works fine when I use facelets, but when I use it in a JSP page it gives the following CSJS error:

      Calendar is not defined
      http://joedev.on-site.com/cal.seam
      Line 13.

      My JSP:
      <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
      <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
      <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>


      <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
      Seam Pay


      <f:view>
      <h:form>
      <rich:calendar />
      </h:form>
      </f:view>



      Supposedly RichFaces is automatically enabled in Seam 2.0, I did no other configuration. Can anyone help me find out what I'm doing wrong? Or could it be possible that the calendar widget only works with facelets? The documentation for configuring with Seam 2.0 shows a facelets activated web.xml... Any help is greatly appreciated!