Starting from here I have the following problem:
I'm generating a random number of form fields (It's not that random, but the user can change in any moment their number) and I want to save all this information in a Managed Bean ArrayList
property.
<ui:repeat var = "ctr" value = "#{controller.tipCounter}">
<h:outputLabel for = "tip" value = "#{appMessage['form.tip']} ##{ctr} :" />
<h:inputText id = "tip" value="#{controller.tipList}" maxlength="100" />
</ui:repeat>
In the controller I have the following property:
private List<String>tipList;
//Get+Set
Besides some undesired behaviour (all the form fields mapping this list have []
as their value) this warnings are thrown:
INFO: WARNING: FacesMessage(s) have been enqueued, but may not have been displayed.
sourceId=fm-story:j_idt60:0:tip[severity=(ERROR 2), summary=(Conversion Error setting value '' for 'null Converter'.), detail=(Conversion Error setting value '' for 'null Converter'.)]
sourceId=fm-story:j_idt60:1:tip[severity=(ERROR 2), summary=(Conversion Error setting value '' for 'null Converter'.), detail=(Conversion Error setting value '' for 'null Converter'.)]