0
在javascript af:resource
組件內,用於比較使用&&
的引發以下錯誤:AND運算符在AF:在javascript資源投擲誤差
Expected name instead of &
第二符號是當這個錯誤突出了紅色波浪下劃線被拋出。
示例代碼如下所示。
blnTargetRowReady = (targetIndex==1 && targetDestinationComponent.getValue()==null && targetOriginComponent.getValue()==null && targetSelectComponent.checked==false && targetDateComponent.getValue()!=null);
我注意到,當我與||
不會出現此錯誤替補多的&&
。
有誰知道爲什麼這個錯誤發生在頁面上。該頁面在瀏覽器中運行正常,即使用&符號,但在JDeveloper中,相關頁面顯示錯誤。
任何你可以提供的指導,我將不勝感激。