Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Richfaces commandbutton action goes to the wrong method

 
Bhuvnesh Phadnis
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am using Seam/RichFaces here. Please see the attached figure.

I am trying to create a database lookup. When I click on the button "click1" defined on line 41, the call goes to #{accountListSearch.search} which is the action for the button "search" defined on line 23 instead of #{accountHome.parentAccountXX}. Now the thing that is driving me nuts is that I have copied the code for "click1" line 41 to "click2" line 55 and it works like a charm.

Please help!

please see the code below & attachment.

screen2.jpg
Screen 1
[Thumbnail for screen2.jpg]
 
Bhuvnesh Phadnis
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
problem solved! didnt use ajaxSingle for "click1"

thanks for your time ... just in case someone did read this post.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic