• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Jenkins ListBoxModel to Checkboxes

 
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have written a Jenkins plugin that uses doFillXXXItems and returns a ListBoxModel. It takes in a @QueryParameter which sets the name. It works great with a dropdown box. I now want to add checkboxes for each item but can't get it to work. If I create a method, it doesn't take @QueryParameter nor can I figure out how to set that with a typical j:forEach. I need to pass the name into the method or use a setter. I have been unsuccessful. Any ideas or examples?

Jim
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Jim,
I don't know how to do that either. I find that when working on a plugin, I frequently need to look at a working example. Maybe the thing to do is look for a plugin that has checkboxes and see how they do it?
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic