jsf 有关 widgetVar 的使用问题,点击按钮让密码框内自动赋值:123456 求赋值的js代码
=====密码输入框<p:passwordid="ppwd_smsPassword"widgetVar="ppwdSMSPassword"value="#{flashSc...
=====密码输入框
<p:password id="ppwd_smsPassword" widgetVar="ppwdSMSPassword" value="#{flashScope.txt_transactionPwd}" feedback="false" disabled="#{EbkTransactionPwdKey.sended == false}" maxlength="32" />
==========获取密码按钮
<p:commandButton id="pcb_getSMSPassword" value="#{uimsg['passwordauthen.GetSMSPassword.txt']}" widgetVar="pcbGetSMSPassword"
process="@this, pfs_passwordAuthenInfo" action="getsmspassword" oncomplete="getSMSPasswordComplete(xhr, status, args)"
update="ppwd_smsPassword"/> 展开
<p:password id="ppwd_smsPassword" widgetVar="ppwdSMSPassword" value="#{flashScope.txt_transactionPwd}" feedback="false" disabled="#{EbkTransactionPwdKey.sended == false}" maxlength="32" />
==========获取密码按钮
<p:commandButton id="pcb_getSMSPassword" value="#{uimsg['passwordauthen.GetSMSPassword.txt']}" widgetVar="pcbGetSMSPassword"
process="@this, pfs_passwordAuthenInfo" action="getsmspassword" oncomplete="getSMSPasswordComplete(xhr, status, args)"
update="ppwd_smsPassword"/> 展开
1个回答
2012-10-15
展开全部
7
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询