Any idea anyone? Is it possible that we specify the name of the form input field? How to go about doing that?
More generally, all JSF components have an ID.
If you don't provide one, JSF will create an automatic ID, using the format j_
idXXX (XXX is a incremented number).
Some components implement the javax.faces.component.NamingContainer interface, in particular
.
This means that all children of this component will have their ID prefixed by the ID of this container, separated by a ':'.
So, in the example:
the real ID of the input (i.e. the ID of the HTML input object) will be myForm:myInput.