I have been attempting to dynamically populate a dropdown list based on other fields on the Create User page in CA Identity Manager. I have code that will check the other field's value but I can't properly set the dropdown values, all the values I insert are shown on one line instead of separate rows as shown below...
I am wondering what the proper way to construct a dropdown list is, my code currently looks like this...
user.addValueToAttribute("manager", "test1");
user.addValueToAttribute("manager", "test2");
I have tried many different ways to separate these entries into rows with no success, any input would be helpful.