• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Richfaces commandbutton action goes to the wrong method

 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
[Thumbnail for screen2.jpg]
Screen 1
 
Bhuvnesh Phadnis
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
problem solved! didnt use ajaxSingle for "click1"

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