Thanks Jesse.

I am really looking for having the components listed in a similar way that 
Node Properties or Job Properties are displayed, a list of checkboxes that 
render the component descriptor once checked. Hence the choice for 
"descriptorList". Also in that particular case I do not need to persist the 
configuration that is POSTed. Just need to bind it to Java objects to 
perform the action.

In the end, I was able to make this work following what is done here: 
https://github.com/jenkinsci/workflow-job-plugin/blob/workflow-job-2.35/src/main/java/org/jenkinsci/plugins/workflow/job/properties/PipelineTriggersJobProperty.java#L153-L162
.

On Tuesday, October 1, 2019 at 10:49:04 PM UTC+10, Jesse Glick wrote:
>
> On Tue, Oct 1, 2019 at 7:24 AM Allan Burdajewicz 
> <[email protected] <javascript:>> wrote: 
> > I use a jelly /lib/form/descriptorList to display the components. 
>
> Does not sound right. That is a low-level control. I think you meant 
> to use a high-level control such as `repeatableHeteroProperty`. 
>

-- 
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/a087aa73-8830-4e88-813d-51e7ce1ff34b%40googlegroups.com.

Reply via email to