aspose 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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
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?
 
 
subject: Calling actionListener using ajax4jsf is refreshing the whole page