1
MyFaces와 함께 IceFace 3.3.0을 사용하고 있습니다. 에이스 : 대화 상자에 문제가 있습니다. IE 7이나 8에서는 작동하지 않지만 다른 브라우저에서는 잘 작동합니다.IceFaces 3.3 : ace : IE8에서 작동하지 않는 대화 상자
IE8에<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="de" lang="de" xmlns="http://www.w3.org/1999/xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:icecore="http://www.icefaces.org/icefaces/core"
xmlns:ace="http://www.icefaces.org/icefaces/components"
xmlns:ice="http://www.icesoft.com/icefaces/component"
>
<h:head>
<title></title>
</h:head>
<h:body>
<ace:dialog id="helpDialog" header="Help" widgetVar="helpDialog"
closable="true" modal="true" draggable="false" showEffect="clip"
hideEffect="fade" closeOnEscape="true" width="400" height="600">
<h:outputText value="Help Dialog" />
</ace:dialog>
<h:form id="myform">
<ace:panel id="mypanel" header="Test" closable="false" toggleable="false">
<h:commandLink immediate="true" value="> Dialog" onclick="helpDialog.show();" />
</ace:panel>
</h:form>
</h:body>
</html>
,이 코드는 대화 상자를 표시하지 않습니다 및 페이지로드 자바 스크립트 오류 발생 :
SCRIPT438 object doesn't support this property or method
자바 스크립트 오류를 여기
문제를 보여줍니다 간단한 예제 생성 된 행에 표시됩니다.helpDialog = ice.ace.create("Dialog",["helpDialog_main",{"isVisible":false,"minHeight":0,"width":400,"height":600,"draggable":false,"modal":true,"show":"clip","hide":"fade","title":"Help","ariaEnabled":true}])
이미 다른 버전을 사용해 보았습니다. MyFaces와 Mojarra조차도 알지 못하기 때문에 이것이 얼음판 문제라고 생각합니다.
도움을 주시면 감사하겠습니다.
불행하게도이 솔루션은 나를 위해 작동하지 않습니다. 당신이 알고있는 다른 방법이 있습니까? – Rash