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

    a4jCommandlink has to be invoked twice to reRender a compone


      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}"/>

      Thx for suggestions