2 Replies Latest reply on Jan 16, 2009 3:34 PM by Fab Mars

    a4jCommandlink has to be invoked twice to reRender a compone

    Johannes Homuth Newbie

      Hi again,

      another question today. I have a simple a4jCommandLink with and a4jactionparam. This combination should rerender an output text when clicking on the link. It works but only when I click twice on the link. When I use a commandButton rather then a link it work directly, but I need a link. Did anyone had the same problem or does someone know how to fix that.

      Here a little code example

      <a4j:commandLink ajaxSingle="true" reRender="projectName,typ" value="#{item.data.name}">
       <a4j:actionparam name="name" value="#{item.data.name}" assignTo="#{SelectedProjectBean.name}"/>
      </a4j:commandLink>


      Thx for suggestions