4 Replies Latest reply on Sep 24, 2012 2:30 AM by Sumith Ekanayake

    rich:calendar

    Sumith Ekanayake Newbie

      Hi to All..

       

      I am using the following rich:calendar component

      I want to know how we use rich calender for show a month according to the Selected Year and Month from Combo box

       

      if there is a attribute in rich:calendar component,plz let me know it....

       

      Thanks

      Sumith

        • 1. Re: rich:calendar
          Juraj Húska Master

          Hi Sumith,

           

          I am afraid that I not understand your question properly. Could you please reformulate it ?

           

          Particularly: for show a month according to the Selected Year and Month from Combo box

           

          Where do you want to show the month which I guess you selected in the Combo box ?

           

          Or the question is how to show just the month in the calendar input which you previously selected from combo box ?

           

          Thanks.

          • 2. Re: rich:calendar
            Sumith Ekanayake Newbie

            Thanks Juraj

             

            Here is a image of my page. I want to show relavent calender that according to the Selected year and month by Combo box...

            Capture.JPG..

            • 3. Re: rich:calendar
              Christian Peter Expert

              Hmmm there are a least two ways I can think of:

              a) there are onchange listeners on both year and month selectOnesMenus. If a value was changed, the year (or month) of the date the calendar uses will be changed. Also they will cause the calendar to rerender, so the new value will be applied.

               

              b) there's also some clientside api: selectDate(date)

              I haven't used this before. Maybe it's worth a try. Just like before, but everything must be done on the client in javascript.

              1 of 1 people found this helpful
              • 4. Re: rich:calendar
                Sumith Ekanayake Newbie

                Thanks Christian..

                 

                It is more valuble help for me. I'll try. Thanks ...