1
我在我的Force.com網站中使用JavaScript Remoting。除了我注意到的場景之外,當我單擊apex:commandLink
或apex:commandButton
中的一個組件時,該組件會打開我的JavaScript遠程功能存在的組件,然後當我嘗試執行遠程處理操作時,出現如下錯誤。Salesforrce:JavaScript Remoting「Uncaught ReferenceError:Visualforce未定義」
Uncaught ReferenceError: Visualforce is not defined
當我不以前在上午apex:CommandLink
或apex:commandButton
在前面的組件單擊我沒有得到這個錯誤。有沒有人在&之前遇到過,如果知道如何阻止錯誤發生?
大家好方法控制器,使用控制器擴展爲http://boards.developerforce.com/t5/Visualforce-Development/建議Winter-12-breaks-JS-Remoting/td-p/336947/page/2解決了這個問題。 – SalesforceQueries 2013-04-26 12:41:08