Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Calling actionListener using ajax4jsf is refreshing the whole page

 
Shasi Mitra
Ranch Hand
Posts: 101
Flex Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What the action method returns?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic