Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何在调用 from 的方法中通过另一个 bean 的对象传递参数<f:event listener="...">?
<f:event listener="...">
我正在尝试在showData()要调用的方法中传递由另一个 bean 生成的参数
showData()
<f:event listener="#{myTransformerBeans.showData}">
参数将是#{myDataBean.myId}.
#{myDataBean.myId}
你也可以试试
<f:event listener="#{myTransformerBeans.showData(myDataBean.myId)}">