Hi,
Am Mittwoch, 18. Februar 2015 21:54:12 UTC+1 schrieb Jesse Glick: > > On Tue, Feb 17, 2015 at 6:02 AM, Stefan Wolf <[email protected] > <javascript:>> 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(); > } > Thats what I tried and it didn't work. > 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. > So seems like I need to implement something. Any ideas how to add default values for a field like that? Regards, Stefan -- 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/2e1dab5e-c06f-481d-9837-07678d41938a%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
