Use stapler entry and select components:
<f:entry title="${%APIs}" field="elecAPI">
<f:select/>
</f:entry>
Then either use `<f:option>` or fill the combo options using a
`doFillElecAPIItems()` in your descriptor implementation (it uses a naming
convention).
On 20 March 2018 at 17:29, Virginia Mesa <[email protected]> wrote:
>
> Good, I need to create a select / combobox to choose a multiple option. I
> did it this way:
>
>
>
> <https://lh3.googleusercontent.com/-qnSPOGdZ9hM/WrEzSNjs6DI/AAAAAAAAAaI/xnNO-rW1sqMhbhHz9d6dnuWqC9mnbx8sQCLcBGAs/s1600/Sin%2Bt%25C3%25ADtulo.png>
>
> But at the time of passing the data to the BackEnd, it is not saving me
> the value of the select / combobox.
>
>
> <https://lh3.googleusercontent.com/-sxRbTZj41cQ/WrE2zK2lYvI/AAAAAAAAAaU/J1Md6vrJ2l0t-2Em9-RuV1V7ybIogsv9QCLcBGAs/s1600/Sin%2Bt%25C3%25ADtulo.png>
>
>
> Can you give me a hand how to do it in .jelly?
>
> Thanks!
>
> --
> 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/42f69431-9ca7-40fb-b997-0b8bcf13b5d0%
> 40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/42f69431-9ca7-40fb-b997-0b8bcf13b5d0%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
--
Antonio Muñiz
Software Engineer
CloudBees, Inc.
--
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/CAJc7kzRxtuxodWcx0KM637X2MyVkPja6Nu5pAXKxC7iTdVRaJQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.