Hello All,
Does anyone have a working example of the multiple select that I could take 
inspiration from?

I tried to use the ListBoxModel.Option that has a third parameter in the 
constructor for the selected state (true or false).
However this doesn't seem to be working.

M.-
________________________________
From: Marco Brondani <[email protected]>
Sent: Tuesday, November 28, 2017 8:54:58 PM
To: [email protected]
Subject: f:select with multiple attribute

Hi All,

I have a <f:select multiple=”multiple” /> in my Builder config.jelly which is 
populated by the BuilderDescriptor
Everything works fine, the user can select multiple options that are correctly 
stored and used in the build.
However, when the user goes back to the job configure page, the options are not 
selected. I can see that the correct String[] of values are persistent.
Am I missing anything?
I saw that other plugins use a list of checkboxes instead of the multiple 
select, but my clients does not like it..

Any help would be really appreciated,
Thank you!

Marco



-- 
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/VI1PR04MB3070D4A159CA5F82A1EED46AF53D0%40VI1PR04MB3070.eurprd04.prod.outlook.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to