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

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

keyboard - C++ GetAsyncKeyState alternative -

android - java.net.UnknownHostException(Unable to resolve host “URL”: No address associated with hostname) -