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) <&
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);