I created a page in Application Express 4.2.3.00.08. The page has a process name COMPUTE_STATUS to execute after footer. The page process has the following pl/sql code:
begin
if :P55_KEY_FOB_ID is null then
:P55_OLD_KEY_FOB_ID_NULL := ‘Y’;
ELSE
:P55_OLD_KEY_FOB_ID_NULL := ‘N’;
end if;
end;
This variable is used in a condition on a dynamic action which is not working properly. When I look at the session state the value of P55_OLD_KEY_FOB_ID is set correctly. However, if I change the status of the variable P55_OLD_KEY_FOB_ID from hidden to text field the value displayed on the page is null (empty) even though the session data indicates that it is set. If I click edit page 55 and then click run then data shows in P55_OLD_KEY_FOB_ID. What is causing the lag between the session state data and the actual data on the page. Is there any way to push the data because I think this is why the variable is not useful in my conditions. Is there a way to access the va;ue through javascript?