个人的配置环境如下:
JSF (mojarra-2.0.0-EDR2)
facelets-1.1.14
richfaces-ui-3.3.0.GA
Tomcat 6.0
按RICH FACE文档提供的问题解决方法尝试了几次无果之后(居然文档中说jsf1.2没有问题,晕倒....),在jboss的论坛上发现了一张类型的帖子,里面有个仁兄的点子解决了困扰了我一下午的问题。
其实方法是解决方法是这样的。
在web.xml中调整一个faces的初始化参数就行了
内容:
<!--
When turned on, it changes ViewHandler.restoreView() to build the view
before asking the StateManager for help.
-->
<context-param>
<param-name>facelets.BUILD_BEFORE_RESTORE</param-name>
<param-value>true</param-value>
</context-param>