4 Replies Latest reply on Nov 3, 2018 3:00 PM by ade_adekoya

    Disable a Region Button with a Top and Bottom of Region Button Position

    ade_adekoya

      Hello

       

      Environment :

      Oracle 12.1

      APEX 18.1

      Windows7

       

      I have an IR and Region Button 'Run Match' with Button Position Top and Bottom of Region.

      Using a DA to disable button 'Run Match' conditionally when P1_STATUS_CODE_NEW = 'ALL' (ALL status rows = 'NEW')

       

      Dynamic Action

      When

        Name   : ALL Status_code = 'NEW'

        Event   : Change

        Selection Type  : Items

        Item            : P1_STATUS_CODE_NEW

      Client Side Condition

        Type   : Item=Value

        Item     : P1_STATUS_CODE_NEW

        Value    : ALL

       

      TRUE

        Action 

          Action : Enable

          Selection Type  : Button

          Item            : RUN_MATCH

      FALSE

        Action 

          Action : Disable

          Selection Type  : Button

          Item            : RUN_MATCH

       

      If the button 'Run Match' is enabled, clicking the button updates all status = 'MATCHED'.

       

      https://apex.oracle.com/pls/apex/f?p=50544:1

       

      The issue I am having is due to the Button Position Top and Bottom of Region.

      The button 'Run Match' Bottom of Region position is not firing the DA on the disable condition and remains enabled.

       

      Can any body assist with :

         - disabling the Bottom of Region Button Position?

         - display a conditional (when disabled) button title attribute to display a message 'Full Match only when all Serials are New'?

       

      Please review my example at

       

      apex.oracle.com

      Workspace : demo_ade

        user      : demodev

        psw       : demodev1

       

      Kind Regards

      Ade