You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2015/11/18 21:26:11 UTC

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

    [ https://issues.apache.org/jira/browse/MYFACES-3991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15011882#comment-15011882 ] 

Leonardo Uribe commented on MYFACES-3991:
-----------------------------------------

I can't see any bug in the code. The steps done to initialize outbound parameters are correct, so beyond that there is nothing else I can do. I'll close this one as cannot reproduce. Please reopen it again if you can provide an example that shows the problem.

> 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 actively 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)