You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Dhana kumar Anem (JIRA)" <de...@myfaces.apache.org> on 2015/05/28 09:21:17 UTC

[jira] [Created] (MYFACES-3991) New flow-scoped bean is created when passing outbound parameter

Dhana kumar Anem created MYFACES-3991:
-----------------------------------------

             Summary: New flow-scoped bean is created when passing outbound parameter
                 Key: MYFACES-3991
                 URL: https://issues.apache.org/jira/browse/MYFACES-3991
             Project: MyFaces Core
          Issue Type: Bug
    Affects Versions: 2.2.8
            Reporter: Dhana kumar Anem
            Priority: Minor


Hi,
I am actvitly using JSF 2.2 flows in my application; I suspect this is bug.
in my view, I do set in my commandLink action, #{memberListBean.setMember(member).

But the above 'setMember' returns outcome 'callMemberRegisterUpdate' which is a node in my flow and invokes the nested flow. (Code is below)

Here, the outbound parameter refers to new instance of MemberListBean, hence I get null for 'memberListBean.member'; I expect the value instead of null as it is set before.

flowBuilder.flowCallNode("callMemberRegisterUpdate")
		   .flowReference("", "member") // define the flow to call
		   .outboundParameter("member", "#{memberListBean.member}");



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)