Simple question really. I have a form with a number of h:inputText fields and I require them to have a default value, but I am not sure how this is done since they are linked to a managed bean: <h:inputText value="#{bean.instance}"/>
I am thinking that I will probably need to link it to a properties file and then surround with an if block? Otherwise some form of Javascript implementation?
Any help is appreciated!
Cheers
How about giving the properties/attributes default values in the bean constructor?