add multi-valued options
Reported by Greg Schueler | 2011-02-28 14:34:07 UTC | in Rundeck 1.2
Add options that can support multiple selections. The new option definitions should include a way to define the delimiter character, and when multiple values are selected in the GUI.
e.g.:
<option name="test" multivalued="true" delimiter="+" values="a,b,c"/>
The user could select multiple values in the GUI, then the job is executed with these args:
-test a+b+c
Comments and changes to this ticket
-

Deleted User 2011-02-28 15:30:27 UTC
I would like to suggest that the delimiter be defaulted to a blank space. Definitely having the ability to override is going to very helpful. Would a newline be supported as well '\n'?
-

Greg Schueler 2011-02-28 15:41:16 UTC
i wonder if there should be any default delimiter. if multivalued=true and no delimiter is specified perhaps it should be an error case.
newlines probably not supported...
-

Deleted User 2011-02-28 16:29:12 UTC
Error case is so draconian. Make it a space, that way you can do stuff like for x in ${options.value}; do without thinking.
-

Deleted User 2011-03-02 13:47:57 UTC
(from [0efa33f95d1f78205ebd499cc9da88f96cba4ceb]) Initial multivalued options [#220] https://github.com/dtolabs/rundeck/commit/0efa33f95d1f78205ebd499cc...
-

Greg Schueler 2011-03-03 11:28:09 UTC
- State changed from new to resolved
delimiter has been made a required input item if multivalued=true.
-

Deleted User 2011-03-15 16:53:44 UTC
- Milestone order changed from 30 to 0
(from [8db6fb27fa5b55a3c25b56e66aa852b4d8fcb827]) Update multivalue options [#220]
Edit delimiter form descriptive text.
improve display of multi-value options form.
https://github.com/dtolabs/rundeck/commit/8db6fb27fa5b55a3c25b56e66... -

-

Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
(DEPRECATED) Please use github issues for issue tracking at http://github.com/dtolabs/rundeck/issues
People watching this ticket
Attachments
Referenced by
-
220
add multi-valued options
(from [0efa33f95d1f78205ebd499cc9da88f96cba4ceb])
Initial...
-
220
add multi-valued options
(from [8db6fb27fa5b55a3c25b56e66aa852b4d8fcb827])
Update ...