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的问题。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值