How can I pass a parameter through anot...">

How to pass a parameter via another bean object inside a method called from <f: event listener = "...">

How can I pass a parameter through another bean object inside a method called from <f:event listener="...">

?

I am trying to pass a parameter generated by another bean inside a method showData()

to be called when using

<f:event listener="#{myTransformerBeans.showData}">

      

The parameter will be #{myDataBean.myId}

.

0


source to share


1 answer


you can also try



<f:event listener="#{myTransformerBeans.showData(myDataBean.myId)}">

      

0


source







All Articles