This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JSF and the fly likes Ajax4JSF - Can't generate ajax call from JSF page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Ajax4JSF - Can Watch "Ajax4JSF - Can New topic
Author

Ajax4JSF - Can't generate ajax call from JSF page

Gaurang Panchal
Greenhorn

Joined: Aug 11, 2008
Posts: 5
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

Joined: Aug 11, 2008
Posts: 5
Does anybody have any idea?
I am still waiting...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Ajax4JSF - Can't generate ajax call from JSF page
 
Similar Threads
JSF scalability and performance issues... please help... important
AJAX in JSF application
Integrating AJAX and JSF
Custom UIViewRoot and AjaxViewRoot
How rerender a JSF component from an included page?!