On Tue, Feb 17, 2015 at 6:02 AM, Stefan Wolf <[email protected]> wrote:
> I am using a repeatableHeteroProperty to configure a list of reports to
> generate. Now I want to validate in the UI that this list is not empty.
> Is this possible?

Not sure. You would expect to be able to add to the descriptor

public FormValidation doCheckReports(@QueryParameter List<Report> value) {
    return value.isEmpty () ? FormValidation.error("empty!") :
FormValidation.ok();
}

If that works, I would suggest filing a PR for the ui-samples-plugin
to demonstrate it. If not, something needs to be implemented in
repeatableHeteroProperty.jelly.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr0S8GbFd5F3n1urUHSgpdkRqHDS52R2NngRQzjOo_uAUg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to