File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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
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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How can a validator know which commandButton was clicked?
 
Similar Threads
why different kind of validations in Struts.explain me
is Validator can be configured as Module config ?
Multiple Message Resources with Validator
Help regarding struts validator framework (version 1.2.7)
struts2 field validator type boolean and all possible field types.