This discussion is archived
4 Replies Latest reply: Sep 1, 2013 1:15 AM by Maroof Ahmad RSS

ResetButton Not Calling After Call CommandButton in ADF 10.1.3.2

Maroof Ahmad Newbie
Currently Being Moderated

Hi,

 

I have a search page and have two Button one is command button and one is reset button.

 

First time when i fill farm and click reset button  then farm clears but when click search button after that reset button is not working.

 

see below code look like this.

 

<afh:rowLayout>

            <afh:tableLayout binding="#{backing_enqAdvSrch.tableLayout6}"

                             id="tableLayout6">

              <afh:rowLayout binding="#{backing_enqAdvSrch.rowLayout18}"

                             id="rowLayout18" halign="center">

                <afh:cellFormat binding="#{backing_enqAdvSrch.cellFormat30}"

                                id="cellFormat30" halign="center">

                  <af:commandButton text=" Search " 

                                    binding="#{backing_enqAdvSrch.commandButton1}"

                                    id="commandButton1"

                                    shortDesc="Click to search document"

                                    action="#{backing_enqAdvSrch.doSearch}"

                                    inlineStyle="text-align:center;"> 

                        <af:setActionListener from="#{bindings.types}" to="#{processScope.types}"/>

                  </af:commandButton>

                </afh:cellFormat>

                  <afh:cellFormat  id="cellFormat333" halign="center">                

                  <af:resetButton textAndAccessKey="&amp;Reset"/>                       

                </afh:cellFormat>

              </afh:rowLayout>

            </afh:tableLayout>

            </afh:rowLayout>

            </afh:tableLayout>

        </h:form>

 

Why not second time calling reset

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points