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!

CreateInsert makes combobox LOV empty

Okan SutcuogluMay 17 2018 — edited May 17 2018

Hello.

I use JDeveloper 12.2.1.3 and jdk 8. My problem is When i execute a CreateInsert programmatically. It creates an empty row as expected. I fill the values(one of them is a combobox LOV). When i click the button that makes CreateInsert execution again. I lose the combobox LOV value in the first created row.

What i did:

I have a master table and a detail table in relationship with FK. I drag the master table on the page as readonly.

I created a popup and dragged the detail table in it. Added partial trigger to popup.

I created a button. On the actionlistener a call a method from managed bean in the backingbean scope.

Here is the method :

public void transWeightDetailAddRow(ActionEvent actionEvent) {

    DCBindingContainer bc = (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();

    bc.getOperationBinding("CreateInsert").execute();

}

As you can see in the red rectangle when i click the plus icon it creates a new row and i filled it.

1.PNG

I click the plus icon again and here is the result :

2.PNG

It creates a new row but makes empty the combobox LOV.

Thanks for your help.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 14 2018
Added on May 17 2018
1 comment
80 views