I am creating a database setting jsf page which shows the value from the properties file during the page load. The users then updates the page and press submit and the value get updated in the properties file.
I followed this solution provided by Balusc
http://stackoverflow.com/questions/2451154/jsf-action-on-page-load
and set the value in the constructor of the backing bean.
public DbSettingsBean()
{
this.setUserName(helper.getValueForProperty("user_name"));
this.setPassword(helper.getValueForProperty("password"));
}
While I managed to show the user name from the properties file during page load. I am unable to show the value of inputsecret for password during the page load. It remains blank.
Is there any other way to show password during page load?
I am using JSF RI 1.2 and Richfaces 3.3.2
Thanks in advance