how to iterate HashMap key and values in oracle ADF 11ginside panelacordion
865530Sep 7 2011 — edited Sep 7 2011Hi,
I need to display HashMap key and values on panelAccordion showdetail component.
my HashMap signature is HashMap<String, ArrayList<MyClass>>
where string=heading to be displayed on showdetail component.
ArrayList<MyClass> data which is need to display inside the showdetail component for corresponding heading.
ex:
HashMap<String,ArrayList<MyClass>> elements
panelaccordion
heading1 (1st showdetailitem)
link1
link2
heading2(2nd showdetailitem)
some data....
some data....
I have tried using <af: iterator but not working.
<af:iterator value="" id=""> --- to display heading
<af:showdetailitem text="" id="">
<af:iterator value="" id=""> -- to display inside the component
<af:golink........../>
</af:iterator>
</af:showdetailitem>
</af:iterator>
can any one give me some idea how to iterate HASHMAP using iterator using ORACLE ADF 11g.
regards,
sandeep