0 Replies Latest reply on Aug 11, 2008 6:35 AM by Gaurang Panchal

    Can't generate ajax call from JSF page

    Gaurang Panchal Newbie

      I am using JBoss RichFaces Ajax4JSF functionality.

      I am making different ajax calls from the application. The problem is that that ajax call is working fine when i do it from individual jsf page.
      But, when i put that jsf page in the application flow(means, call that page from another jsf page), that ajax call is going to server and updates the bean data but it is not reRandering it on the jsf page.

      I have used,
      <a4j:commandButton id="cmdAjaxBack" action="#{testBean.prev}" value="Ajax Back" styleClass="button" reRender="currentGroup"/>
      to generate ajax call.
      Here, currentGroup is a id of the dataTable componeent.

      I don't know why it is behaving like this, probably, the call is not passing thorugh Ajax4JSF filter. But, how to make it to pass thorugh it.

      Please, reply as soon as possible, as i need to build functionality rapidly and i have stuck up on this issue.