Is there a UI validation capability in RTC for multiple selections using stringList attribute type with Value Set Picker presentation?
We were looking for a solution to allow multiple selections with our java external reference Value Set Provider. We did some test code utilizing a stringList attribute and a Value Set Picker presentation. This got us to be able to make multiple choices, and remove them, but then we got to the question of validation.
|
One answer
Ralph Schoon (63.5k●3●36●46)
| answered Aug 18 '17, 2:43 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER You would have to write your own attribute customization validators e.g. based on Java or JavaScript.
Comments
Robert Stawicki
commented Aug 18 '17, 12:54 p.m.
Another light goes on - while we have used java Value Set Provider extensions, I was not aware until now we could also provide a java plugin for a Validator. I may have to play with that at some point, and see what value type a string list attribute produces internally, and validate choices based on that. (The javaScript Validator - and I think we've used this - seems limited in the attribute types it handles, or as you indicated, is not easy to figure out how to handle a *List attirbute.)
To work with the Eclipse clients, the Java attribute customization needs to be deployed in the Eclipse client - see my blog.
|
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.