aspose file tools*
The moose likes JSF and the fly likes How can a validator know which commandButton was clicked? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "How can a validator know which commandButton was clicked?" Watch "How can a validator know which commandButton was clicked?" New topic
Author

How can a validator know which commandButton was clicked?

Jeff Albertson
Ranch Hand

Joined: Sep 16, 2005
Posts: 1780
The subject says it all. My form has several "submit" buttons,
and the validation of some of the fields depends on which was pressed.
How can I find that out in my validator?


There is no emoticon for what I am feeling!
 
 
subject: How can a validator know which commandButton was clicked?