3 Replies Latest reply on Oct 5, 2012 10:41 AM by jhuska

    RichFaces is not Rendered

    unwavering

      Hi,

      I am using RichFaces 4.2.2 with JSF 2.1.9 and the deployment is on JBoss 7.1.1 but any RichFaces components are not rendered and are passed in verbatim to the final XHTML document in the browser while JSF components are rendered.  Also, JBoss does not complain at all and therefore I do not have any clue about the source of the problem.  For example, the following piece of code:

       

      <font color="red">*</font> <h:outputText value="#{messages.dateOfBirth}" />:

            <rich:panel>

             <rich:tooltip id="tt1"  layout="block">

                      <span style="white-space: nowrap"> This tool-tip content was <strong>pre-rendered</strong> to the page.<br />

                          The tool-tip is also following mouse around.</span>

                  </rich:tooltip>

                  </rich:panel>

            <rich:calendar value="#{calendarBean.selectedDate}" id="calendar" locale="#{calendarBean.locale}"

                          popup="#{calendarBean.popup}" datePattern="#{calendarBean.pattern}"

                          showApplyButton="#{calendarBean.showApply}" cellWidth="24px" cellHeight="22px" style="width:200px"

                          disabled="#{calendarBean.disabled}">

                      </rich:calendar>

       

      Is rendered in the browser as:

       

      <font color="red">*</font>Date of Birth:

      <rich:panel>

      <rich:tooltip id="tt1" layout="block">

      <span style="white-space: nowrap"> This tool-tip content was <strong>pre-rendered</strong> to the page.<br />

      The tool-tip is also following mouse around.</span>

      </rich:tooltip>

      </rich:panel>

      <rich:calendar id="calendar" cellWidth="24px" cellHeight="22px" style="width:200px">

      </rich:calendar>

       

      Note that I have not defined the backing bean calendarBean so the behaviour I am expecting is that JBoss should throw an exception.

      I have attached an image which shows JARs I am using inside JBoss lib directory.  Your help is appreciated.  Thank you.