5 Replies Latest reply on Sep 13, 2007 3:26 PM by *ninho*

    Problem with Two Calendars in the same Page

      I facing a problem with Calendar, when I add two calendar in the same page, I don't obtain set 'buttonClass' to different calendar, because necessary of different positions for each calendar.

      I created two css. but only accepted ''rich-calendar-popupicon''.

      somebody could help me?

        • 1. Re: Problem with Two Calendars in the same Page

          could you post a code snippet please

          • 2. Re: Problem with Two Calendars in the same Page

            Hello SergeySmirnov

            When I set buttonClass, it don't work, only ''rich-calendar-popupicon''.

            My simple page xhtml:

            <style type="text/css">
            <!--
            
            .calendarInput{
             width: 73px !important;
             left: 135px !important;
             top: 10px !important;
             position: absolute !important;
            }
            
            .calendarPopup{
             left: 208px !important;
             top: 9px !important;
             position: absolute !important;
            }
            
            .calendarInput1{
             width: 73px !important;
             left: 135px !important;
             top: 20px !important;
             position: absolute !important;
            }
            
            .calendarPopup1{
             left: 208px !important;
             top: 19px !important;
             position: absolute !important;
            }
            -->
            </style>
            
             <r:calendar id="calendar"
             value="#{bean.dtDate}"
             inputClass="calendarInput"
             buttonClass="calendarPopup" />
            
             <a:calendar id="calendar1"
             value="#{bean.fnDate}"
             inputClass="calendarInput1"
             buttonClass="calendarPopup1" />
            


            Thank's

            • 3. Re: Problem with Two Calendars in the same Page

              Sorry, this incomplete one.

              My complete page:

              
              <style type="text/css">
              <!--
              
              .calendarInput{
               width: 73px !important;
               left: 135px !important;
               top: 10px !important;
               position: absolute !important;
              }
              
              .calendarPopup{
               left: 208px !important;
               top: 9px !important;
               position: absolute !important;
              }
              
              .calendarInput1{
               width: 73px !important;
               left: 135px !important;
               top: 20px !important;
               position: absolute !important;
              }
              
              .calendarPopup1{
               left: 208px !important;
               top: 19px !important;
               position: absolute !important;
              }
              -->
              </style>
              
               <r:calendar id="calendar"
               value="#{bean.dtDate}"
               popup="true"
               inputClass="calendarInput"
               buttonClass="calendarPopup" />
              
               <r:calendar id="calendar1"
               popup="true"
               value="#{bean.fnDate}"
               inputClass="calendarInput1"
               buttonClass="calendarPopup1" />
              
              
              


              • 4. Re: Problem with Two Calendars in the same Page

                Hi SergeySmirnov...

                Do you could help me with this problem?

                Thank's

                • 5. Re: Problem with Two Calendars in the same Page

                  Sorry, this problem it's corrected in release GA...

                  Thank'ssssss

                  :)