【发布时间】:2011-03-31 16:07:01
【问题描述】:
commandLink 的immediate="true" 不应该跳过验证吗?单击该链接时,我仍然收到“需要密码”消息,有什么想法吗?
<h:inputSecret id="j_password" autocomplete="off" value="#{authenticationBean.password}" required="true" requiredMessage="Password is Required" />
<p:commandLink action="#{authentication.forgotPassword}" ajax="false">
<h:outputText value="#{bundle['login.forgotpassword.TEXT']}" immediate="true"/>
</p:commandLink>
【问题讨论】: