-
Bug
-
Resolution: Incomplete
-
Major
-
None
It seams that data in set into dropdownDescriptorSelector cannot be accessed for validation using validateButton. Here is part of my config.jelly
<j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define" xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form"> <f:dropdownDescriptorSelector title="dropdown" field="dropdown" descriptors="${descriptor.dropdown}" /> <f:validateButton title="Validate" progress="Validating" method="validate" with="dropdown" /> </j:jellt>
and valudating method in Descriptor:
public FormValidation doValidate(@QueryParameter("dropdown") String dropdown) { return FromValidation.error("Drop down value: " + dropdown); }
and I always get null in dropdown parameter in java code.