3 Replies Latest reply on Oct 11, 2007 6:14 AM by Milind Dhar

    rich:calendar

    Milind Dhar Newbie

      Hi,

      I am using rich:calendar as popup in a simple jsf
      page
      The calender is inside a scrolling div.
      But when i scroll the popup calender does not move
      with the calendar textbox.
      Also if I remove the doctype declaration it works
      properly in ie but not in firefix
      I am using
      ie version 6.0 ,firefox version 2.0 ,tomahawk1.1.5, and richface3.0

      Please help.

      Thanx
      Milind Dhar

      The code is as below:
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
      <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
      <%@ taglib uri="http://myfaces.apache.org/tomahawk" prefix="t"%>
      <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
      <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>


      <f:view>
      <f:verbatim>



      title here




      </f:verbatim>
      <h:form id="myForm">

      <t:div style="height:350px;overflow-x:hidden;overflow-y:auto;">
      <h:outputText escape="false" value="" />
      <h:outputText escape="false" value="" />
      <rich:calendar id="myCal" datePattern="#{dateAction.datePat}" popup="true" value="#{dateAction.selectedDate}" />
      <h:outputText escape="false" value=""/>
      <h:outputText escape="false" value="" />
      <h:outputText escape="false" value="" />
      </t:div>



      </h:form>
      <f:verbatim>

      </f:verbatim>
      </f:view>