2 Replies Latest reply on Jun 26, 2007 5:49 AM by Karl Wyer

    a4j:commandLink - Bean's action not fired

    snew2k5 snew2k5 Newbie

      Hi all,
      I'm facing a strange problem. Here is my code fragment

      ...
      <h:form>
      ...
       <a4j:commandLink
       action="#{bean.edit}"
       actionListener="#{bean.actionListener}"
       value="Edit"
       reRender="mpInfo"
       oncomplete="Richfaces.showModalPanel('mpInfo', {top:20})">
      
       <f:param name="refId" value="#{bean.refId}"/>
       </a4j:commandLink>
      ...
      </h:form>
      ...
      


      When I click on this link, the modal panel is shown but the bean's action (edit) and action listener (actionListener) are not called. I tried to change those actions' names to other invalid names but no errors occured.
      Any suggestions? Thanks a lot.