This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to determine which submit button was clicked from a phase listener

 
Ajay Dhar
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm using JSF 1.2 and I need to determine which submit button was clicked from a phase listener which is triggered before JSF conversion. I am assuming that this information is available from FacesContext but I can't find it.

Previously I had to do something similar, but not exactly the same. I had to find the name of the submitted form. I used the following method in my phase listener:



If someone could help me out I would greatly appreciate it.

Thanks,
Ajay
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic