So I have a managed viewscope bean, and I have a html page with a container
<div id="container>...</div>
I want to go through a list of Strings in the managedBean and append a whole bunch of selectOneMenu items into the container from the Java side based on what's in that list.
Can I do that? And if so, what is the easiest way. Also I am using Primefaces and am open to use Javascript but would prefer to avoid it.
`. There should not be a need to consider hazardous/tedious Java code ways which are not easily readable/maintainable.