I have my managed bean as follows:
@ManagedBean @SessionScoped public class utilisateur implements Serializable { private String login ="yous" ; private String password ="yous"; ... ... }
and my login.xhtml
<h:outputText value="login: " /> <p:inputText value="#{utilisateur.login}" /> <h:outputText value="password: " /> <p:password value="#{utilisateur.password}" />
therefore, with this configuration, the password should be specified by default, as ****
(yous) in p:password
, but it shows empty.
source share