This discussion is archived
5 Replies Latest reply: Jan 24, 2013 9:28 AM by 986969 RSS

adf 11g -popup dialog search

973967 Newbie
Currently Being Moderated
HI aLL,

please see the sample code below and i am not using the data control/binding layer . application based on bounded task flow and adf faces components only .

<af:popup id="p1">
<af:dialog id="d1" title="PhoneSearch">
<af:inputText label="searchname" id="it1" value="#{pageFlowScope.adbook.name}"/>
<af:commandButton text="*search*" id="cb1" actionListener="#{pageFlowScope.adbook.searchByName}"/>

<af:table var="val" value="#{pageFlowScope.adbook.empdetails}" rowBandingInterval="0" id="t3" rowSelection="single"
selectionListener="#{pageFlowScope.adbook.getRowSelection}">
<af:column sortable="false" headerText="col1" id="c4">
<af:outputText value="#{val.name}" id="ot3"/>
</af:column>
<af:column sortable="false" headerText="col2" id="c5">
<af:outputText value="#{val.email}" id="ot4"/>
</af:column>
</af:table>
</af:dialog>

</af:popup>


<af:commandToolbarButton text="ShowDetails" id="ctb2">
<af:showPopupBehavior triggerType="click" popupId="::p1"/>
</af:commandToolbarButton>

working on the bounded talk flow .

on my pop-up window , i have search scenario's ,example : such as search employee by department name ,by location..etc . Based on the search result, the table will refreshed and table will have check box's on each row to select and finally click dialogWindow "ok' button .

issue is , on popup -dialog window i m not able to do search ,bcoz as soon click on *search* button , the dialog window closing . please suggest any alernative options ?


Thanks

Legend

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