This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Ant, Maven and Other Build Tools and the fly likes Jenkins ListBoxModel to Checkboxes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Jenkins ListBoxModel to Checkboxes" Watch "Jenkins ListBoxModel to Checkboxes" New topic
Author

Jenkins ListBoxModel to Checkboxes

James Daniel
Ranch Hand

Joined: Sep 24, 2004
Posts: 79
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
internet detective
Marshal

Joined: May 26, 2003
Posts: 30123
    
150

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?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
 
Don't get me started about those stupid light bulbs.
 
subject: Jenkins ListBoxModel to Checkboxes
 
Similar Threads
jenkins email plugin issue.
output parameter from stored procedure: Operand type clash: VARCHAR is incompatible with VOID Type
call a stored procedure using eclipselink Problem...
JUnit Testing question
NamedStoredProcedureQuery gets no result