I want the user to enter one or more names to the JSF's inputText components. So I'm thinking of a managed bean like this:
public class MyBean {
private String[] names;
public String[] getNames() {
return names;
}
public void setNames(String[] names) {
this.names = names;
}
}
But, how do I map the JSF's inputText components to this array property?