<h: inputSecret> automatically becomes empty even if I store the value in the reverse bean for it
2 answers
This is indeed the default behavior <h:inputSecret>due to security concerns. You can get the value to redisplay by setting the attribute redisplayvalue true.
<h:inputSecret value="#{bean.password}" redisplay="true" />
See also its documentation for the declaration description document (my attention)
Behavior coding
clientId "name". "", , " " - "" . "styleClass", "class".
+9