ajax4jsf将< body>和< head>现代浏览器中的标签 [英] ajax4jsf doubles <body> and <head> tags in modern browsers

查看:55
本文介绍了ajax4jsf将< body>和< head>现代浏览器中的标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Web应用程序修复错误,该应用程序使用JSF(myfaces 1.1),facelets,战斧和ajax4jsf.在现代浏览器(例如Firefox 12+或Chrome)中,重复的< body>和< head>标签(可以在FireBug中看到).显然,它是由javascript生成的,因为页面的源代码没有它.

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.

该问题在较旧的Firefox(3.6)和Internet Explorer中没有出现.

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

我已经发现ajax4jsf标记引起了问题.根据清单文件,它是版本1.1.1.升级到RichFaces是否可以解决此问题?

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?

推荐答案

对于面临相同问题的任何人:升级到RichFaces 3.1.2.GA不能解决问题.解决此问题的版本为3.3.3最终版本(或这两个版本之间的某个版本).

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).

这篇关于ajax4jsf将&lt; body&gt;和&lt; head&gt;现代浏览器中的标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆