2 Replies Latest reply: Jan 9, 2013 9:03 AM by user13443964 RSS

    Using af:quickQuery to search within the components rendered by af:iterator

    user13443964
      Hi All,


      I used 3 iterators to loop through my VO's and render commandImageLink based on the results.
      Now i have a requirement to render only the rows that satisfy the condition chosen in af:quickQuery.
      Is it possible?.

      Sample Code.

      <af:iterator id="i8" value="#{bindings.WmsYardAreaView1.collectionModel}" varStatus="areaVar" var="row">
      <af:panelGroupLayout layout="vertical" id="pgl17">
      <af:panelHeader text="#{row.YardAreaName}" id="ph5"
      inlineStyle="background-color:#468b6a; font-family:'Courier New', Courier, monospace;"/>
      <af:spacer width="10" height="10" id="s15"/>
      <af:iterator id="i10" value="#{row.children}" var="areaRow">
      <af:panelGroupLayout layout="horizontal" id="pgl15">
      <af:iterator id="i11" value="#{areaRow.children}" var="locatorRow">
      <af:switcher id="s1" defaultFacet="#{(locatorRow.children==null) ? 'empty' : 'nonempty'}">

      I need to filter the rows for the 3rd switcher with var "locatorRow" based on search result of a af:quickQuery.

      Please Advise.


      Thanks,

      Ajith

      Edited by: user13443964 on Jan 8, 2013 1:44 PM