myface 的一个问题duplicate Id for a component tree2form

此问题在调试tomahawk-examples-1.1.6中 tree2 时出现:
duplicate Id for a component tree2form:clientTree5:t2c

Caused by:
java.lang.IllegalStateException - duplicate Id for a component tree2form:clientTree5:t2c

有人说定义了全部的的id即可 有人说放在h:form中就可。同时也有人说是一个bug。
我加了id并放到form中仍然提示这个错误 同时后台出现的错误为

严重: Exception while processing phaselistener: null

不知各位是否遇到。请指教。

注: 这里只要用到tree2的页面即使没有duplicate Id for a component tree2form:clientTree5:t2c 树可以显示出来但是 后台仍然报Exception while processing phaselistener: null。
同时测试了tree是不报这个错误的。

环境为jsf+spring+hibernate

终于找到针对Exception while processing phaselistener: null的原因了是  rendered的问题。

你可能感兴趣的:(spring,Hibernate,JSF)