0

I have a problem. I have page on my web app, with this code. When I show the page with this code, the onBlur method is call. How to solve it? At this time, I just want to display the element...not call the method. Thanks for tips :)

<p:selectBooleanCheckbox value="#{rec.mediated}" id="checkbox"
                         onblur="#{ViewBean.addRecToMed(rec, 'lI')}">
    <p:ajax listener="#{ViewBean.invalidate()}" update="@form" event="change"/>
</p:selectBooleanCheckbox>
Kukeltje
  • 12,223
  • 4
  • 24
  • 47

0 Answers0