4 Replies Latest reply on Apr 22, 2008 6:58 AM by alfons12

    a4j:commandlink inside h:datatable

    alfons12

      Hello,

      here is an outline of my code. Problem is that when I press the second ajax link, manager.getData is always fired!! The first link doesn't fire anything due to a4j:region.

      Can anybody tell me, how to avoid it? I really don't know why the getData is always called - reRender attribute is empty and action method of the commandlink is empty too so nothing should happen.

      Thank you

      <h:form>
      
      <a4j:region>
       <a4j:commandLink>
       </link>
      </region>
      
      <h:datatable value="#{manager.data}">
       <a4j:region>
       <a4j:commandLink />
       </a4j:region>
      </table>
      </h:form>