Apex 5 : Dynamic action set page item value

后端 未结 2 1801
生来不讨喜
生来不讨喜 2020-12-29 16:48

When using the new apex 5 release I\'m encountering the following issue:

Can\'t get the value of page items through plsql:

nv(:P2_TO, :P2_FROM) <&         


        
2条回答
  •  误落风尘
    2020-12-29 17:15

    You could always use apex util:

    APEX_UTIL.set_session_state(p_name => 'PX_MY_ITEM', p_value => 'wibble');

    Example 1

    APEX_UTIL.set_session_state('P1_MY_ITEM','My Text Value');
    

    Example 2

    APEX_UTIL.set_session_state('P1_MY_OTHER_ITEM', 42);
    

    Example 3

    APEX_UTIL.set_session_state('P1_MY_OTHER_OTHER_ITEM', MY_PLSQL_VARIABLE);
    

提交回复
热议问题