The following page is the last page in my flow scope:
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://xmlns.jcp.org/jsf/core"
xmlns:h="http://xmlns.jcp.org/jsf/html">
<head>
<title>Last page in the flow</title>
</head>
<body>
<h1>Registration completed!</h1>
<p>value: #{flowScope.name}</p>
<p>value: #{flowScope.surname}</p>
<h:form prependId="false">
<p><h:commandButton id="back" value="back" action="signup2" /></p>
<p><h:commandButton id="home" value="home" action="homePage">
<f:setPropertyActionListener value="#{flowScope.name}"
target="#{mainController.name}"/>
</h:commandButton></p>
</h:form>
</body>
</html>
I would like to pass the name to my mainController. This only works if mainController is session scoped, but not if it is request scoped ? Why ?
Regards Roger