[英]How can I reset an adf page without hardcoding it explicitly?
我有一个带有少量输入框,选择框等的表格。
如何在不编写代码的情况下将控件值重置为null / empty。 我的意思是有没有可以自动重置页面或控件的属性?
您可以使用如下形式:
<af:commandLink text="commandLink with resetActionListener"
id="cl1" immediate="true" actionListener="#{demoInput.reset}">
<af:resetActionListener/>
</af:commandButton>
更多信息在这里 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.