Primefaces scheduler IE 8 月视图兼容性

Primefaces scheduler IE 8 month view compatibility

我以前没有注意到这一点。我有一个 IE 10,当我 运行 我的测试时,我进入了 IE 8 兼容模式,直到我从装有真实 IE 8 的虚拟机上尝试它时,问题才出现。

在 IE 8 中查看时,primefaces 调度程序无法在月视图中正确呈现。我目前使用的是 Primefaces 5.2 社区版。我不确定什么坏了。看起来是 CSS(我希望)。查看 [demo page of scheduler]

可以看出问题

如果有人以前见过这个,你能告诉我是否有可用的修复程序或者我必须恢复到 Primefaces 3.5 吗?

问题出在 primefaces 使用的组件中。它被称为完整日历。这是一个提交 https://github.com/fullcalendar/fullcalendar/commit/87cfc4f74361f8368b13c8e647de5c26bcce56ec#diff-08ade688d884f4e51e28a954d5c61932 . This commit talks about the problem. Here's the same bug referenced in primefaces. https://code.google.com/p/fullcalendar/issues/detail?id=2428&colspec=ID%20Type%20Status%20Milestone%20Summary%20Stars

那么解决方法是什么。解决方法是使用自定义 primefaces jar。由于需要为 IE8 打补丁的 scheduler.js 是 jar 文件的一部分。我已经解压了 primefaces 5.2 jar 并用第一个 link.

中提到的错误修复修补了 scheduler.js

它似乎工作正常。因此,这是针对任何 运行 关注此问题的人。此外,您还必须更改您的 Maven 或您正在使用的任何构建,以使用您创建的自定义 5.2 jar。