This week's giveaway is in the Spring forum.
We're giving away four 3 month subscriptions to Marco Behler Videos and have Marco Behler on-line!
See this thread for details.
Win a 3 month subscription to Marco Behler Videos this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Ajax4JSF - Can't generate ajax call from JSF page  RSS feed

 
Gaurang Panchal
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Does anybody have any idea?
I am still waiting...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!