aspose file tools*
The moose likes JSF and the fly likes Richfaces commandbutton action goes to the wrong method Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "Richfaces commandbutton action goes to the wrong method" Watch "Richfaces commandbutton action goes to the wrong method" New topic
Author

Richfaces commandbutton action goes to the wrong method

Bhuvnesh Phadnis
Greenhorn

Joined: Sep 10, 2004
Posts: 14
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.




[Thumbnail for screen2.jpg]

Bhuvnesh Phadnis
Greenhorn

Joined: Sep 10, 2004
Posts: 14
problem solved! didnt use ajaxSingle for "click1"

thanks for your time ... just in case someone did read this post.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Richfaces commandbutton action goes to the wrong method