Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    #16
    Any chance to have this fix in 3.1 as well ?

    Comment


      #17
      Confirming that I think there might be an issue with the setMonthViewHoverHTMLCustomizer() call in 3.1p. We're running v8.3p_2013-06-09/PowerEdition Deployment (built 2013-06-09) and the call to set it to null (recommended per the Javadocs) seems to be ineffective. Please advise.

      I tried it two ways -- once with an actual customizer, and once with null -- to no effect; it still displayed the default tooltip. I realize the paste below is out of sorts, I just piled my usages together for the sake of example.
      Code:
      		Calendar testCalendar = new Calendar();
      		testCalendar.setMonthViewHoverHTMLCustomizer(new MonthViewHoverHTMLCustomizer() {
      			@Override
      			public String getMonthViewHoverHTML(Date currentDate, CalendarEvent[] events) {
      				return "this is a test";
      			}
      		});
      		Date now = new Date(); now.setHours(12);
      		Date later = new Date(); now.setHours(13);
      		testCalendar.addEvent(now, later, "Test Event", "Event Description");
      		testCalendar.setMonthViewHoverHTMLCustomizer(null);
      Last edited by a-davis; 20 Jun 2013, 08:28.

      Comment


        #18
        We're taking a look. We'll follow up when we have more information

        Thanks
        Isomorphic Software

        Comment


          #19
          This should be fixed now - please retest with a nightly build dated June 22 or later

          Comment


            #20
            Thank you! I will let you know how it goes when the build drops.

            Comment


              #21
              Code similar to below now seems to be working and meets our functionality requirements as of the June 22nd 3.1p Power nightly. Thank you!

              Code:
              		MonthViewHoverHTMLCustomizer noHover = new MonthViewHoverHTMLCustomizer() {
              			@Override
              			public String getMonthViewHoverHTML(Date currentDate, CalendarEvent[] events) {
              				return null;
              			}
              		};
              		monthCalendar.setMonthViewHoverHTMLCustomizer(noHover);

              Comment

              Working...
              X