4 Replies Latest reply on Jun 11, 2012 5:22 AM by Brendan Healey

    Richfaces 4 a:commandLink does not invoke bean method with a4j ajax click event.

    Roshan Mutha Newbie

      Hi ,


      I am using richfaces 4.2. I have tried execute listener methods of a4j ajax but bean not invoked.



      <a4j:commandLink value="#{messages['detail.encounters.addToRecordList']}">

                                                      <a4j:ajax action="#{bean.addEncounterToRecordList(encounter)}" event="click"  render="tab1,tab2,tab3"/>



      public void addEncounterToRecordList(MyBEan encounter)


                //Java Code ...


      Can some guide me how can i pass the encounter object to this method?