This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android 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?
 
Similar Threads
Help regarding struts validator framework (version 1.2.7)
struts2 field validator type boolean and all possible field types.
why different kind of validations in Struts.explain me
is Validator can be configured as Module config ?
Multiple Message Resources with Validator