p:commandButton をクリックして ap:dialog を表示すると、javacript エラーが発生します。
以下のエラーを見つけてください。
Message: Object doesn't support this property or method
Line: 1
Char: 169
Code: 0
URI: http://localhost:8080/idm/javax.faces.resource/dialog/dialog.js.xhtml? ln=primefaces&v=2.2.1
Message: Object doesn't support this property or method
Line: 1
Char: 133
Code: 0
URI: http://localhost:8080/idm/javax.faces.resource/button/button.js.xhtml?ln=primefaces&v=2.2.1
コードブロックは次のとおりです。
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.prime.com.tr/ui"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:c="http://java.sun.com/jsp/jstl/core">
<p:commandButton value="save" onclick="dlg1.show();" ></p:commandButton>
<p:dialog id="basicDialog" header="Basic Dialog" widgetVar="dlg1">
<h:outputText value="Resistance to PrimeFaces is futile!" />
</p:dialog>
</ui:composition>
他のすべてのプライムフェイス コンポーネントは正常に動作しています。
どんな助けでも大歓迎です。