Forum Stats

  • 3,838,618 Users
  • 2,262,384 Discussions
  • 7,900,695 Comments

Discussions

LOV loose data even the persisted ones when ADF Panel Tabs switched abruptly

Magwaa
Magwaa Member Posts: 84
edited Sep 18, 2017 8:14AM in JDeveloper and ADF

Hi ,

I am using Jdeveloper 12.1.2 for ADF development. I am facing a very strange behavior of Panel Tabbed component. The scenario is as follows:

I have a master with more than 8 details in show details item. The master form is in form layout while the lower are is composed of pannel tabbed component with 8 show details item. Everything works fine but the problem is when  use tries to switch tabs without waiting for server response some of the LOV in table refresh their value whether persisted or not they loose the value and it becomes a show stopper for the users. I have applied Andrejus Baranovskis Blog: Skip Validation for ADF Required Tabs solution and some others as well but they are of no use. Once i turn on the Immediate property of show details item the show stopper is reomoved i.e validation messages disappear but the save action doesn't check the values of required fields. Anybody having a clue on this?

Regards,

--Magwaa

Tagged:

Answers

  • Timo Hahn
    Timo Hahn Senior Principal Technical Consultant - Oracle ACE Director Member, Moderator Posts: 38,585 Red Diamond
    edited Sep 10, 2017 5:59AM

    Magwaa, this sound strange to me.

    What exactly if in the details?

    Which server response?

    Are the details build by regions?

    Timo

  • Magwaa
    Magwaa Member Posts: 84
    edited Sep 10, 2017 6:38AM

    Hi Timo,

    This sounds strange to me as well. This is the first time i have seen such behavior. The Detail tab doesn't posses regions it's just simple table component.Multiple tabs with multiple tables nothing complex or something. Everything works fine until you start playing with TABS i.e press one tab and before it gets rendered press the other tab so after doing this multiple times the LOV of certain tables start loosing values. You go back and come to same screen the values will be there.

  • Timo Hahn
    Timo Hahn Senior Principal Technical Consultant - Oracle ACE Director Member, Moderator Posts: 38,585 Red Diamond
    edited Sep 10, 2017 10:17AM

    Try to reduce the complexity of the page e.g. by removing some of the details for a test. Do you still get the same problem?

    Do you only get the behavior for LOV fields?

    Are those LOV fields complicated (e.g. does it take some time to get the data)?

    Timo

  • Magwaa
    Magwaa Member Posts: 84
    edited Sep 18, 2017 7:28AM

    I have done that. This occurs only for select one choice fields. And it takes a bit time to load the data in Tables.I have auto submit enabled for all but still unable to overcome this weird behavior.

    Regards,

    Magwaa

  • Magwaa
    Magwaa Member Posts: 84
    edited Sep 18, 2017 8:14AM

    One interesting trend that i have come across is it behaves normally when you switch between tabs in a normal way i.e. slow and letting the complete data population. But when you switch between tabs in an insane way like just clicking around and playing in between tabs the select one choice values get lost and unselected label appears however the values exist in DB.

This discussion has been closed.