0 Replies Latest reply on Feb 9, 2009 10:28 PM by 807575

    Pop up Calendar problem

      We have some SJSC2 popup calendars, which used to work OK. After we upgrade browser from IE6 to IE7, it sudendly behaves weirdly. After user click the popup calendar icons ont the same page, some calendars pop up, some can not pop up at all.
      I did a browser debug, and found line 243 or line 246 had problems in com.sun.rave.web.ui.defaulttheme.javascript.calendar.js file:

           this.lastRow.style.display = "none";

      This is because this.this.lastRow return NULL due to the rowId passed to ui_Calendar() function is row5.

      I modified this line to:

      if (null != this.lastRow) {
      this.lastRow.style.display = "none";

      Now, each calendar pops up OK. However, the calendar poped up shows only 4 rows, not 5 rows. i.e.

      Janurary 2009
      S M T W T F S
      28 29 30 31 1 2 3
      4 5 6 7 8 9 10
      11 12 13 14 15 16 17
      18 19 20 21 22 23 24

      As you could see here, the last row of Jan 2009 is missing:

      S M T W T F S
      25 26 27 28 29 30 31

      I have not figured out what cause this issue. Is this is due to default calendar size? I did not see where the calendar size is set.
      Another reason might be due to display set to none? However i tried with Netbean6 calendar, the display is also set to none, the calendar wash shown OK in IE7, i.e. 5 rows was shown, not 4 rows only.

      Remember, this used to work with no problem under IE6. We also has a netword security update a whiles ago.

      Any idea will be appreciated. Any one know who wrote this calendar for SUN maybe I could contact them?