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 Calling actionListener using ajax4jsf is refreshing the whole 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 "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?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Calling actionListener using ajax4jsf is refreshing the whole page
 
Similar Threads
Retaining selected value in combo box after refresh
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 ?
JBoss Seam