0 Replies Latest reply on Dec 8, 2010 8:53 PM by cnu vas

    rich:modalPanel and t:inputCalender focus.

    cnu vas Newbie

      Hi: I have a rich:Panal that is being used for edition the row of a  datatable.  the Modal Panel consists of the t:inputCalender. when i  click on the calendar image the calender is being shown behind the modal  panel, so the input is not being accepted from the calender.


      Can you suggest what makes the calender to popout over the modal panel so that the calendar input is enabled.? thankss


      <rich:modalPanel id="editPanel" autosized="true" width="500">
          <f:facet name="header">
              <h:outputText value="Edit " />


          <h:form id="_edit">
             <a4j:outputPanel ajaxRendered="true">

                  <h:panelGrid columns="2" >                                  
                     <h:outputText value="Start Date :" />                 
                     <t:inputCalendar id="StartDate" renderAsPopup="true"
                               value="#{richBean.currentItem.startDate}" size="10"
                               displayValueOnlyStyleClass="normalText" renderPopupButtonAsImage="true"
                               align="right" popupTodayString="Today is:" popupDateFormat="MM/dd/yyyy"
                               popupWeekString="Week"  required="true" renderAsPopup="true">
                             <f:attribute name="displayValue" value="Start Date" />



             <a4j:commandButton value="Update" action="#{richBean.update}"
                  oncomplete="if (#{facesContext.maximumSeverity==null})
                                       Richfaces.hideModalPanel('editPanel');" />
              <a4j:commandButton value="Reset" immediate="true" onclick="this.form.reset();" ajaxSingle="true"/>
              <a4j:commandButton value="Cancel" onclick="Richfaces.hideModalPanel('editPanel')"/>