4 Replies Latest reply on Apr 21, 2011 3:58 AM by Ilya Shaikovsky

    a4j:commandLink need click in twice time in richfaces4.0

    Lu Han Newbie

      I am in migration from 3.3.3 to 4.0, the most codes are not changed and they work well under rf3.3.3.

       

      I find the link doen't work well, it will work when I click in twice time.

       

      I use firebug to find the difference of the two time post, there is no viewstate in first time.

       

      I have no idea about the phenomena.

       

      Please help.

       

      <a4j:commandLink id="editButton" render="subContent" value="#{group.groupName}" styleClass="link" action="#{groupsBean.editGroup}">

                                                                  <f:param name="bizId" value="#{group.groupId}"></f:param>

      </a4j:commandLink>

       

      First time post:

       

      AJAX:EVENTS_COUNT1

      bizId2

      javax.faces.partial.ajaxtrue

      javax.faces.partial.eventclick

      javax.faces.partial.execu...paginationForm:itemList:0:editButton @component

      javax.faces.partial.rende...@component

      javax.faces.sourcepaginationForm:itemList:0:editButton

      org.richfaces.ajax.compon...paginationForm:itemList:0:editButton

      paginationFormpaginationForm

      paginationForm:findText

      paginationForm:itemList:0...paginationForm:itemList:0:editButton

      paginationForm:j_idt3321

       

      Second time post:


      AJAX:EVENTS_COUNT1

      bizId2

      javax.faces.ViewState6542343497565186848:5912213439853555962

      javax.faces.partial.ajaxtrue

      javax.faces.partial.eventclick

      javax.faces.partial.execu...paginationForm:itemList:0:editButton @component

      javax.faces.partial.rende...@component

      javax.faces.sourcepaginationForm:itemList:0:editButton

      org.richfaces.ajax.compon...paginationForm:itemList:0:editButton

      paginationFormpaginationForm

      paginationForm:findText

      paginationForm:itemList:0...paginationForm:itemList:0:editButton

      paginationForm:j_idt3321

       

      Thanks,

      Lu Han