myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (JIRA)" <>
Subject [jira] [Commented] (MYFACES-3991) New flow-scoped bean is created when passing outbound parameter
Date Wed, 18 Nov 2015 20:26:11 GMT


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:
>             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

View raw message