14 Replies Latest reply on Mar 14, 2007 3:13 PM by Rachana Patel

    <a4j:commandLink> action is not getting called

    Rachana Patel Newbie

      My <a4j:commandlink > action is not getting called. following is the code fragment:

      <a4j:outputPanel id="transInfo" ajaxRendered="true">
       <d:customDiv id="singleTrans" styleClass="component" rendered="#{processScope.renDerCustInfo == 'true'}" style="overflow: hidden;">
       <h:panelGrid columns="1" border="0" rendered="#{processScope.renDerOpportunity == 'true'}" columnClasses="colL" style="width:200px;margin-left: 47px;" rowClasses="rowH">
       <h:dataTable var="oppList" value="#{processScope.oppAllData}" columnClasses="colL" styleClass="dt_normal pr_red">
       <a4j:commandLink action="#{backing_CustSearchBean.getOppNoData}" oncomplete="alert('after completion');">
       <h:outputText value="#{oppList.opp_no}" />
       <f:param name="opp_name" value="#{oppList.opp_no}" />

      <a4j:commandLink> when clicked, my control doesn't go to getOppNoData action method of my managed bean. Please note that there are many other <h:panelgrids> inside <a4j:outputPanel />.
      I am doing similar coding on many other parts of the page with same managed bean, all the those actions
      are getting called.

      This probelm has stuck me up at a very imoportant phase. Please Help!!