Hello,
I am trying to use the *FormValidation* and I followed the basic guide
(https://wiki.jenkins-ci.org/display/JENKINS/Basic+guide+to+Jelly+usage+in+Jenkins).
In my jelly file is following:
> <f:entry title="${%SaltPosition}"
> help="/plugin/mysql-auth/help/salt.html"
> field="saltPosition">
> <select name="saltPosition">
> <option value="None">${%None}</option>
> <option value="Before">${%Before}</option>
> <option value="After">${%After}</option>
> </select>
> </f:entry>
>
The corresponding *Descriptor* implementation looks like following:
> public FormValidation doCheckSaltPosition(
> @QueryParameter String value) {
> if (!SaltingCipher.NONE.equals(value)) {
> return FormValidation.error("yes" + value);
> } else {
> return FormValidation.error("no" + value);
> }
> }
>
What is wrong?
Thanks for any advices.