1 Reply Latest reply on Aug 20, 2010 12:14 AM by sivaprasad9394

    a4j:commandLink not calling the navigation faces-config.xml??

    sivaprasad9394

      I can't navigate to the next page,my commandlink is inside the rich:datatable,below is my code

       

       

      <a4j:commandLink action="#{existingCustomer.submitSelectedCustomerAction}"
      reRender="existingCustomerDataScroll,existingCustomerData,processingExistingCustomerModalSubview"
      ajaxSingle="true" id="transactionFieldLink" styleClass="celcomNoColor01"
      value="#{existingCustomer.name}" style="text-decoration:underline">
      </a4j:commandLink>
      MyBean:
      public String submitSelectedCustomerAction()
      {
      log.debug("calling submitSelectedCustomerAction");Error1.bmp
      String action=null;
      action= "successNew";
      log.debug(action);
      return action;   
      }

       

      Navigation:

       

       

      <navigation-rule>

      <display-name>action</display-name>

      <from-view-id>/ExistingCustomer/existingCustomer.jsp</from-view-id>

      <navigation-case>

      <from-action>#{existingCustomerBean.submitSelectedCustomerAction}</from-action>

      <from-outcome>successNew</from-outcome>

      <to-view-id>/ExistingCustomer/Postpaid/postpaidMainPage.jsp</to-view-id>                         

      </navigation-case>

       

      <navigation-case>

      <from-action>#{existingCustomerBean.submitExistingCustomerGO}</from-action>

      <from-outcome>success</from-outcome>

      <to-view-id>/ExistingCustomer/existingCustomer.jsp</to-view-id>                    

      </navigation-case>

      </navigation-rule>

       

      Error2.bmp

      Have any one face this problem?????