Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Master-Master?!? relation

managed BEANApr 12 2018 — edited Apr 19 2018

Hello,

Here i come again with a crazy/wild requirement .

I need to display a list inside a list to user in UI.

I have a service that returns a collection/list from DB (something like: select columnA, count(columnB) from table group by columnA) and inside it has another collection/list with all columnB data.

When i drag and drop the lists from DC into fragment/page it creates both iterators correct. If i use a SOC with partialtriger to nested iterator it works fine on 2nd SOC.

But i need to display everything. What i assume it´s happening (i just do not have the formal/documented explanation) is that the first iterator has a selectedRowKey, and the 2nd list displays the items for that child collection/list.

What i need is to 'undefine' that selectedRowKey (or some other thing).

I attach a simple app(12.2.1.2) where you can reproduce the issue i am facing.

First list has 3 items(some atributes and a list) and the nested list has from 1 to 3 items.

When you select an item from SOC the 2nd SOC is refreshed with new data (updated list) for that item (this is a typical master-detail), but if you see the iterators below it is also updating. I do not want that. I want first item showing it list, 2nd item showing it list and 3rd item showing it list simultaneously (everything), without the need for selectedRowKey(or whatever).

I don´t mind to have the solution directly from bindings/POJO, or any other way, or any other components.

Thanks for your time and help.

Regards,

Carlos

This post has been answered by managed BEAN on Apr 19 2018
Jump to Answer

Comments

865185

Very good article for a docker starter.

3387467

Me gustó, bastante clara la explicación para cualquier persona que quiera iniciarse en tecnología Docker.

1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on May 17 2018
Added on Apr 12 2018
3 comments
257 views