【发布时间】:2014-06-03 07:26:08
【问题描述】:
在我的 xhtml 中,我有:
<p:commandButton actionListener="#{accountInfoBean.onChangePassword}"
ajax="true" onsuccess="changePasswordDlgVar.show()"
update=":changePassForm:changePasswordPanel" />
我的豆子:
private String password;
private String confirmPassword;
public void onChangePassword() {
this.password = null;
this.confirmPassword = null;
}
我不明白数据库中的密码如何更改以及onsuccess、ajax 和update 属性是什么?
【问题讨论】:
-
您需要使用数据库查询手动完成的功能
标签: jsf primefaces