How to save an array in JSF with ui:repeat + h:inputText + managed bean?

前端 未结 2 946
旧时难觅i
旧时难觅i 2021-02-04 22:56

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 cla

2条回答
  •  执念已碎
    2021-02-04 23:19

    Don't know if I get you right, but baseNumber is not bound to any property in any managed bean. It only exists in the scope of ui:repeat.

    You should do something like:

    
        
    
    

提交回复
热议问题