Hi, I am using dispatch action in my project. I am using ValidatorForm for server side validation. In my action i have getInput, getMaster, getModel methods are there. getInput results in displaying the input screen by populating all drop downs. I dont want validation to be triggered when i am calling getInput method. How to avoid this? Currently i achieved by putting code in form like this.
The Validation Framework has some obvious drawbacks when using DispatchAction, the principal one being the one you've experienced: You can't apply different validations for different methods of the same Action class. I'd say the solution you've posted is as good as any.