Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

add multi-valued options

#220

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

Reported by Greg Schueler · February 28th, 2011 @ 02:34 PM

State: resolved
Milestone: Rundeck 1.2
Assigned to: nobody

Activity

  1. Deleted User
    Deleted User

    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'?

    February 28th, 2011 @ 03:30 PM

  2. Greg Schueler
    Greg Schueler

    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...

    February 28th, 2011 @ 03:41 PM

  3. Deleted User
    Deleted User

    Error case is so draconian. Make it a space, that way you can do stuff like for x in ${options.value}; do without thinking.

    February 28th, 2011 @ 04:29 PM

  4. Deleted User
  5. Greg Schueler
    Greg Schueler
    • State changed from new to resolved

    delimiter has been made a required input item if multivalued=true.

    March 3rd, 2011 @ 11:28 AM

  6. Deleted User
    Deleted User
    • Milestone order changed from 30 to 0

    (from [8db6fb27fa5b55a3c25b56e66aa852b4d8fcb827]) Update multivalue options [#220 add multi-valued options]

    Edit delimiter form descriptive text.
    improve display of multi-value options form.
    https://github.com/dtolabs/rundeck/commit/8db6fb27fa5b55a3c25b56e66...

    March 15th, 2011 @ 04:53 PM

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.