且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

试图让JSF(Faces)在Spring WebFlow中工作

更新时间:2023-09-16 20:42:46

您需要添加Faces Context侦听器,如下所示:

You need to add a Faces Context listener like this:

<flow-executor id="flowExecutor">
        <flow-execution-listeners>
            <listener ref="facesContextListener" />
        </flow-execution-listeners>
</flow-executor>

<beans:bean id="facesContextListener" class="org.springframework.faces.webflow.FlowFacesContextLifecycleListener" />