我試圖在primefaces選取列表中使用新的org.omnifaces.converter.ListConverter
。 我添加了新的依賴在我使用Maven項目,以下載jar文件重建項目:屬性列表未定義在o:轉換器(Netbeans 7.3)
<dependency>
<groupId>org.omnifaces</groupId>
<artifactId>omnifaces</artifactId>
<version>1.5</version>
</dependency>
我進口我的小面的命名空間如下:
xmlns:o="http://omnifaces.org/ui"
仍,當我嘗試在我的選擇列表使用<o:converter>
如下:
<o:converter converterId="omnifaces.ListConverter" list="#{projectBean.clientSource}" />
我得到的NetBeans 7.3的消息說:
The attribute list is not defined in the component converter
它似乎不會導致任何生成失敗,雖然... 我錯過了什麼嗎?我不使用omnifaces,因爲它的意思是?
由於我發佈了這個問題,我必須重新啓動netbeans大約300次,並清理並構建了我的項目約3000次。它仍然顯示這個惱人的錯誤信息! –