<input checkdependson="" default="50" checkurl="/view/White%20Mountains/job/New%20-%20Pipeline%20-%20Model/pipeline-syntax/descriptorByName/cpd/checkHighThreshold" name="_.highThreshold" type="text" class="setting-input validated " value="50">
If I rather use
public FormValidation doCheckHighThreshold(@QueryParameter(value = "highThreshold") final int highThreshold,
@QueryParameter(value = "normalThreshold") final int normalThreshold) {
return VALIDATION.validateHigh(highThreshold, normalThreshold);
}
Then in the generated HTML the attribute checkdependson is correct:
<input checkdependson="highThreshold normalThreshold" default="50" checkurl="/view/White%20Mountains/job/New%20-%20Pipeline%20-%20Model/pipeline-syntax/descriptorByName/cpd/checkHighThreshold" name="_.highThreshold" type="number" class="setting-input validated " value="50">
From the documentation of @QueryParameter: if value is not given, then the name of the parameter should be used.