Dependent Enumeration with Multi-select List
Hello,
I've defined a dependent enumeration and it work fine if my choice is only one item in the dependent list. However, I want to be able to make multiple selection, but the drop-down doesn't allow that. Therefore, I changed the attribute type to Multi-Select List, but that broke the dependent enumeration relationship and now all items are listed in there. Thank you for any help. mm
|
3 answers
Ralph Schoon (63.5k●3●36●46)
| answered Jun 07 '17, 7:53 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Jun 07 '17, 7:56 a.m. John, for all I can tell https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=148601 was not rightfully closed it only provides an example for an enumeration value, not an enumerationList (e.g. severityList).
I have played around with Enumeration and other list type attributes and I have, as far as I can remember, not been able to successfully implement JavaScript based value sets for them. I found no example as to how to compute the data to a list and how to return that back successfully (as far as I remember).
I think I have been able to create this kind of value set providers in Java.
If you have to provide the data as an array [], it would be interesting how such an array can be created from values in a list (e.g. a http filtered value set) programmatically.
|
Following the link I have managed to implement this but is it possible to set the variables with multiple values(arrays) to be output ie
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.