I am trying to implement an actionListener with
@Stateless
@Name("neLogic")
@Conversational(ifNotBegunOutcome = "ne.List")
@Interceptors(SeamInterceptor.class)
public class NeLogicAction implements NeLogic, Serializable {
.....
@In( required = false,scope =ScopeType.CONVERSATION)
@Out(required = false,scope =ScopeType.CONVERSATION)
private Ne neBean;
......
public void processValueChange(ValueChangeEvent valueChangeEvent) throws AbortProcessingException {
System.out.println("nebean name is " + neBean.getName());
System.out.println("value changed");
neBean.setCode("010101010101");
}
...
}
The method call and page reftesh is ok but the problem is that when I am changing the entityBean in this class, it has no effect on the page.