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
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply 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!
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: How can a validator know which commandButton was clicked?
 
Similar Threads
why different kind of validations in Struts.explain me
Multiple Message Resources with Validator
is Validator can be configured as Module config ?
struts2 field validator type boolean and all possible field types.
Help regarding struts validator framework (version 1.2.7)