Eri*_* C. 5 configuration netbeans-7 omnifaces
我正试图org.omnifaces.converter.ListConverter在primefaces选项列表中使用new .我在maven的项目中添加了新的依赖项,并重建了项目以下载jar文件:
<dependency>
<groupId>org.omnifaces</groupId>
<artifactId>omnifaces</artifactId>
<version>1.5</version>
</dependency>
Run Code Online (Sandbox Code Playgroud)
我正在我的facelets中导入命名空间,如下所示:
xmlns:o="http://omnifaces.org/ui"
Run Code Online (Sandbox Code Playgroud)
不过,当我尝试<o:converter>在我的选项列表中使用时如下:
<o:converter converterId="omnifaces.ListConverter" list="#{projectBean.clientSource}" />
Run Code Online (Sandbox Code Playgroud)
我从netbeans 7.3收到一条消息说:
The attribute list is not defined in the component converter
Run Code Online (Sandbox Code Playgroud)
它似乎没有导致任何构建失败...我错过了什么?我是不是应该使用omnifaces?
Dav*_* SK -1
第一次添加依赖项时,netbeans 不会更新其名称空间列表。
然后,
以及它的全部
我的omnifaces 1.7 和 Netbeans 7.3.1 也发生了同样的情况
| 归档时间: |
|
| 查看次数: |
1156 次 |
| 最近记录: |