How to save an array in JSF with ui:repeat + h:inputText + managed bean?
问题 In a postgres database I have a table with, among others, an int[] field. In my model I have a persisted bean that maps the table, including the int[] field. In this class I have implemented all the needed setters/getters. Now, I have a managed bean which plays also the controller role, and links to the model bean. So, in my xhtml I'm trying to do this: <ui:repeat value="#{drawsetController.selected.editableBaseSetList}" var="baseNumber"> <h:inputText value="#{baseNumber}"/> </ui:repeat>