validation - @SkipValidation only for one parameter -
i have define following validators:
@validations( customvalidators = { @customvalidator(fieldname="campaignid", type="long", key="campaign.required", parameters={@validationparameter(name="min", value="1")}), @customvalidator(fieldname="campaigntype", type="long", key="campaigntype.required", parameters={@validationparameter(name="min", value="1")}) } )
i need skip validation "campaigntype" parameter on 1 action. tried @skipvalidation skips both parameters .
Comments
Post a Comment