Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/jsf/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Jsf IE8中p对话框(Primefaces)的内容为空_Jsf_Primefaces_Internet Explorer 8_Weblogic12c - Fatal编程技术网

Jsf IE8中p对话框(Primefaces)的内容为空

Jsf IE8中p对话框(Primefaces)的内容为空,jsf,primefaces,internet-explorer-8,weblogic12c,Jsf,Primefaces,Internet Explorer 8,Weblogic12c,所以,我们正在经历一个非常奇怪的问题,想看看是否还有其他人经历过这个问题。我们已经使用PrimeFaces4.0、JSF2.1.27Mojara构建了一个应用程序。部署到WL 12.1.1上。在IE8中测试 因此,有一个配置文件页面,它有一个对话框,当用户单击编辑配置文件时,一个对话框显示一个表单,用户编辑信息,然后保存它,对话框关闭,然后更新的信息显示在页面上 因此,当我在本地weblogic 12.1.1上运行它时,一切都非常正常。不仅是我,其他几位同事也测试了它,它在当地的WL和IE8、C

所以,我们正在经历一个非常奇怪的问题,想看看是否还有其他人经历过这个问题。我们已经使用PrimeFaces4.0、JSF2.1.27Mojara构建了一个应用程序。部署到WL 12.1.1上。在IE8中测试

因此,有一个配置文件页面,它有一个对话框,当用户单击编辑配置文件时,一个对话框显示一个表单,用户编辑信息,然后保存它,对话框关闭,然后更新的信息显示在页面上

因此,当我在本地weblogic 12.1.1上运行它时,一切都非常正常。不仅是我,其他几位同事也测试了它,它在当地的WL和IE8、Chrome等设备上也运行良好

因此,我们部署到公司的开发服务器WL12.1.2,然后在IE8中进行测试,当我们点击编辑配置文件p commandLink时,对话框打开,里面没有任何内容。它只是一个对话框。而且它在其他浏览器上运行良好

我看到的唯一变化是服务器

以下是该页面上commandLink的代码:

<p:commandLink value="Edit Profile Info"
                    oncomplete="PF('profileInfoDialog').show()" update=":editProfileForm" 
                    style="text-decoration:none;color:blue;font-style:italic" />

这是一个对话框,内容是很长的代码,但我认为内容与此无关:

<p:dialog header="Edit Profile Info" widgetVar="profileInfoDialog" closable="false"
        style="border:1px 0" modal="true" appendToBody="true" id="profileInfoDialogId" dynamic="true">
            <h:form id="editProfileForm">
       //All the input fields and other content
    <h:panelGrid columns="3">
                        <p:commandButton id="submitButton" value="Save"
                            partialSubmit="true" validateClient="true"
                            update=":editProfileForm:messages"
                            actionListener="#{profileInfoBean.saveProfile}"
                            oncomplete="if (!args.validationFailed  &amp;&amp; args.saved) PF('profileInfoDialog').hide();"/>
                        <h:outputText
                            value="By clicking Save, I verify the information on this screen is accurate." />
                        <p:commandButton id="cancelButton" value="Cancel" type="button" update="editProfileForm"
                            onclick="PF('profileInfoDialog').hide();">
                             <p:resetInput target="editProfileForm" />
                            </p:commandButton>

                    </h:panelGrid>

                </h:form>
        </p:dialog>

//所有输入字段和其他内容
我强调服务器版本的原因是,我刚刚试过我朋友的一个本地weblogic服务器12.1.2,他对IE也有同样的问题。 我已经尝试过删除modal=true和appendToBody=true,但没有任何效果。我真的很感谢大家的帮助,因为我们正在进行QA,这已经成为一个障碍


谢谢

@Makky:谢谢你帮我诊断这个问题

这对我很有用:

<h:head>

<f:facet name="first">

    <meta http-equiv="content-type"
        content="text/html; charset=windows-1250" />

    <meta http-equiv="x-ua-compatible" content="IE=8" />

</f:facet>

</h:head>


按F12键并检查什么是文档模式。如果是怪癖模式,则将其更改为IE8。您的权利!这很有效,我还找到了一个可以从应用程序本身强制执行的修复程序。我很快就会发布它!谢谢