1 Reply Latest reply on Jan 28, 2008 5:49 AM by ilya_shaikovsky

    Rich Datagrid command link problem

    akarshad

      a4j command link did not work (did not call action methods and did not re-rendered the desired components) while generating dynamically by rich data grid

      <rich:dataGrid id="parentGridId"
       value="#{NavigationController.listNavigationParent}" var="nav"
       width="100%">
       <h:outputText value="#{nav.title}" rendered="false"></h:outputText>
       <a4j:commandLink value="#{nav.title}"
       action="#{NavigationController.parentNavClickAction}"
       reRender="childNav,myDataTable">
       <f:param value="#{nav.id}" name="parentNavId"></f:param>
       </a4j:commandLink>
       </rich:dataGrid>
      

      where "childNav,myDataTable" are the id's of components needs to be re rendered.
      a4j:commandLink works good if not generated dynamically.
      Any idea?
      Thanks