Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Jenkins ListBoxModel to Checkboxes  RSS feed

 
James Daniel
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • 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
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 36406
454
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • 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?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!