title: JSF Chrome Save Password on Login form
body: <p>How do I get my JSF login page to prompt Chrome to save password?</p>
  
  <pre><code>    &lt;h:form id="login-form" class="form login-form"&gt;
  
                  &lt;h:outputLabel for="j_username" value="Email:" /&gt;
                  &lt;p:inputText value="#{loginBean.j_username}" id="j_username"
                      required="true"&gt;
                  &lt;/p:inputText&gt;
  
                  &lt;h:outputLabel for="j_password" value="Password:" /&gt;
                  &lt;h:inputSecret value="#{loginBean.j_password}" id="j_password"
                      required="true"&gt;
  
              &lt;p:commandButton id="loginButton"
                  value="Login"  action="#{loginBean.login}" /&gt;
  
          &lt;/h:form&gt;
  </code></pre>