I need to build an UI,
using java data structure ,JSF af
Parent row will have one select one choice and radio button and parent row will have multiple children displayed in the table.
So UI will have multiple parent rows and each parents will have corresponding multiple children's.
All these relationship I need to build in the UI adf form using af.
From Java backend I get an object of List<parents> where each parent is again having parent id as key and list of children objects.Say for eg HashMap<Long parent id,List<childrens>>().
Let me know how to iterate this java object from bean in UI and maintain this List<Parents> and each Parents object is HashMap<Long parent id,List<childrens>>()
I need to maintain this relation ship from UI to bean also where I can edit the parent,children records and also delete each parent and children records.
So,I need to build this datastructure in UI and also build this relationship from UI back to my bean for save,edit,delete.
I am planning to use af:iterator for parent and af:table to display parent child relationship in UI using adf ,java.
And I need to populate back above data structure relation ship back to my bean for save,update,delete.
Need help on how to build this releationship in UI.
Thanks,