将字段从一个托管 bean 传递到另一个托管 bean

Passing a field from one managed bean to another

有什么方法可以将对象从一个托管 bean 传递到另一个托管 bean

例如:#{bean1.setMethod(bean2.getMethod)}

这样做有任何解决方法吗?

感谢 ForguesR 回答问题。问题的解决方案是here.