• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Jeanne Boyarsky
Saloon Keepers:
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Piet Souris
Bartenders:

Ajax4JSF - Can't generate ajax call from JSF page

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Gaurang Panchal
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does anybody have any idea?
I am still waiting...
 
I am Arthur, King of the Britons. And this is a tiny ad:
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!
https://www.kickstarter.com/projects/paulwheaton/low-tech
reply
    Bookmark Topic Watch Topic
  • New Topic