繁体   English   中英

如何重置adf页面而不进行显式硬编码?

[英]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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM