Any chance to have this fix in 3.1 as well ?
Announcement
Collapse
No announcement yet.
X
-
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
-
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
Comment