ajax4jsf doubles <body> and <head> tags in modern browsers [duplicate]

丶灬走出姿态 提交于 2019-12-11 06:31:47

问题


I'm trying to fix an error with a web application, which uses JSF (myfaces 1.1), facelets, tomahawk and ajax4jsf. In modern browsers, like Firefox 12+ or Chrome, there are duplicated <body> and <head> tags (can be seen with FireBug). Obviously, it is generated by javascript, because the source of the pages does not have it.

The problem does not appear in older Firefox (3.6) and Internet Explorer.

I've already discovered that ajax4jsf tags cause the problem. According to the Manifest file, it is version 1.1.1. Will upgrade to RichFaces fix this problem?


回答1:


For anyone who faces the same problem: upgrading to RichFaces 3.1.2.GA does not fix the problem. A version that resolves this issue is 3.3.3.Final (or something between these two versions).



来源:https://stackoverflow.com/questions/12600432/ajax4jsf-doubles-body-and-head-tags-in-modern-browsers

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!