File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes Calling actionListener using ajax4jsf is refreshing the whole page Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "Calling actionListener using ajax4jsf is refreshing the whole page" Watch "Calling actionListener using ajax4jsf is refreshing the whole page" New topic
Author

Calling actionListener using ajax4jsf is refreshing the whole page

Shasi Mitra
Ranch Hand

Joined: Nov 27, 2008
Posts: 101

Hi i have two datatables in one page and depending on the button i clicked one of the two should be disaplyed..I'm using ajax4jaf <a:jsFunction where i'm calling an actionListner on clicking the button and using the reRender attribute hiding/showing the datatables. But instead of only the tables refreshed whole page is getting refreshed..any clue on this?>
Sergey Smirnov
Ranch Hand

Joined: May 29, 2003
Posts: 167
What the action method returns?
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Calling actionListener using ajax4jsf is refreshing the whole page
 
Similar Threads
JBoss Seam
How to refresh a page without using AJAX
DWR with Struts 1.3 to update the Formbean and refresh part of JSP page
I want two buttons on a page, one for "search refine", one for "submit", how to do ?
Retaining selected value in combo box after refresh