This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Calling actionListener using ajax4jsf is refreshing the whole page  RSS feed

 
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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!