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!
Hello i hava a editable table and 1 column is LOV selection. But when i start to edit columns and select a value from LOV, it restarts the row and all changes goes.How can i fix this. I tried autoSubmit="false" but did not work.
Thank you.
User, tell us your jdev version, please!
How have you impemented the LOV in the table?
Have you written java code for this (then show it).
We need more info...
Timo
I am using JDeveloper 12.1.3. No i did not write a Java code i just have an editable table in a page.
I selected attribute as a LOV. Values comes from another view.
I dragged the LOV attribute to the table as a inputComboboxListOfValues.
is autoSubmit true for inputComboboxListOfValues if yes then we will loose the editable field values when we change LOV value. This behavior can be seen with input text with autosubmit true.
Just make sure to change the changeEventPolicy of table to none and add appropriate partial triggers.
refer the following post.
Andrejus Baranovskis Blog: ADF Editable Table - Recommendation For Data Entry Optimization
Regards,
Raju Chetri.
No autoSubmit is false and i cant see changeEventPolicy attribute for inputComboboxListOfValues or table
The problem I see is that you did not define the LOV in the VO as an accessor. This can cause this behavior. Only if you define the LOV in the VO the model knows about it and handles it.
There is an accessor in VO. I use the same LOV VO for 2 attributes. But there is one accessor. Could this be the problem ?
Hi Okan Sutcuoglu
Can you set changeEventPolicy to None at bindings in a page so that row cannot be refreshed.
Regards
Naren
Good evening, instead of use that component in a table it is better to use either inputText or selectOneChoice and handle the events with the java code in valueChangeListener event.
By me experience I can tell you that the component that you are using in a table can lead you to hair pulling because (inputComboboxListOfValues) in iterations
can cause you troubles at long term when you need to customize it.
It is better to use that component outside of the table.
Thank you very much. You made me realize changeEventPolicy attribute is in the "Iterator" 's properties. I tried to find it in the table properties. So I made RajuChetri's answer was correct but thank you too