Use Validator framework with LookupDispatchAction


Hi all,

I want to use a LookupDispatchAction in combination with the validator framework.
The problem is that the validation depends on which button is pressed.
Now I have the problem that validation is always done on all fields.

Is it possible to only validate some fields, but not always all of them?
tcollogneAsked:
Who is Participating?
 
fargoCommented:
u can always customise it in validation.xml with depends attribute. Have a look at the following tutorial
http://www.roseindia.net/struts/struts_validator_framework.shtml
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.