如何在JSF的inputSecret保留原来的密码

 在做AJAX验证两次输入的密码一致性时,如何保留原来的密码呢?

在inputSecret 中设置redisplay="true"。

 

redisplay: This is a boolean attribute. This is used to specify that the password, that have been entered previously, has to be rendered again or not. Its default value is "false" because we generally need not to do this for security reasons.

你可能感兴趣的:(如何在JSF的inputSecret保留原来的密码)