Can't disable session state protection on Oracle APEX 18.1.0.00.45 for Dynamic Actions updating Page Items

前端 未结 3 897
独厮守ぢ
独厮守ぢ 2021-01-05 06:50

I\'m trying to update some page items with a dynamic action. I have an \"on change\" dynamic action on one text field and want to run a calculation on another column and dis

相关标签:
3条回答
  • 2021-01-05 07:16

    From my own experience: it appears that P5_EXAMPLE_ITEM is a text item which has the "Read only" property set to "Always".

    If that's so, set the item type to display only (because the first combination - a read-only text item - is nothing but a display only item with "save session state" set to "no").

    0 讨论(0)
  • 2021-01-05 07:20

    Alternatively, you can try removing the disabled attribute from the input item using a dynamic action after refresh of the region containing it:

    $("#P5_EXAMPLE_ITEM:disabled").removeAttr("disabled");
    
    0 讨论(0)
  • 2021-01-05 07:23

    Add this JavaScript code in page (P5) properties Executes when page load section

    document.getElementById("P5_EXAMPLE_ITEM").readOnly = true;
    
    0 讨论(0)
提交回复
热议问题