0 Replies Latest reply on Mar 5, 2008 9:51 PM by renatobellia

    a4j:commandButton and a4j:commandLink

      When I use a4j:commandButton or a4j:commandLink the action method is executed only once on the seam component, no matter how many clicks I demand, and the reRenderable UI components do not suffer any reRender.



      <a4j:outputPanel ... >
       ...
       <tr>
       <td>
       <a4j:commandLink id="doIt" 
            value="click here" reRender="someTxt"                                           
            action="#{myComponent.doIt}">
       </a4j:commandLink>  
       </td>
       <td>
       <h:outputLabel id="someTxt" 
          value="#{myComponent.data == null ? 'null' : 
                        myComponent.data.id}" />
       </td>
       </tr>
       ...
      </a4j:outputPanel ... >




      Other ajax interactions, like



        <h:selectOneMenu ...>
          <a4j:support ajaxSingle="true" event="onchange"
              reRender="someOtherTxt"
              actionListener="#{myComponent.doThat}"
        </h:selectOneMenu>
      



      work fine.


      I´m using seam 1.2.1, jboss 4.0.5, myfaces 1.1.4, facelets  and richfaces 3.1.2.


      What am I missing ?