如何在不明确硬编码的情况下重置adf页面?

时间:2013-01-29 07:24:59

标签: oracle-adf jdeveloper

我有一个包含少量输入框,选择框等的表单。

如何在不编写代码的情况下将控制值重置为null / empty。我的意思是有没有自动重置页面或控件的属性?

1 个答案:

答案 0 :(得分:1)

您可以使用以下内容:

       <af:commandLink text="commandLink with resetActionListener"
                            id="cl1" immediate="true" actionListener="#{demoInput.reset}">
         <af:resetActionListener/>
       </af:commandButton>

更多信息here