IE-8与Primefaces的兼容问题? [英] IE-8 Compatible issue with Primefaces?

查看:128
本文介绍了IE-8与Primefaces的兼容问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到了IE -8的问题,因为当我在Chrome和Mozilla中执行我的代码时,这很好!但是在IE-8中它没有正确执行。说没有定义dialog.show

Hi i am having a problem with IE -8 because when i execute my code in Chrome and mozilla it is good ! but in IE-8 it is not executing properly. saying that dialog.show is not defined

<p:calendar value="#{bean.method}" mode="inline">
<p:ajax update="@all" event="dateSelect" listener="#{Bean.method1}" oncomplete="dialog.show()" /> 

<p:schedule id="dialog" initialDate="#{Bean.method3}"/>

显示错误。
当我点击日期日历时,将显示日程表中的日期。
但是在IE-8中,当我点击日历和日程表消失的日期时,当我刷新页面时,我看到我的选择日期已经被选中,我也发现了一个错误,如上所述..(对不起问题,如果有任何错误的解释:))

showing Errors . When i click on the Date Calendar the Date in the Schedule is getting displayed. but in IE-8 when i click on the date the Calendar and Schedule are vanishing, when i refresh the page i see that my Selected date has been selected and i also found an error saying as above..(Sorry about the Question if anything is Wrong in Explaining neatly :))

推荐答案

尝试添加 widgetVar =myschedule < p:schedule 并更改

oncomplete="dialog.show()" 

into

oncomplete="myschedule.update();" 

这篇关于IE-8与Primefaces的兼容问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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