In your application both page 2 and page 4 branches to page 5. Page 5 has a Cancel button which
currently redirects to page 2, however it should redirect to either page 2 or page 4 depending on
the originating page. Which three actions need to be performed?
A.
Create two application items: LAST_PAGE and CURRENT_PAGE.
B.
Create an application computation on item LAST_PAGE, computation point Before Header,
type
PL/SQL Function Body and the computation body as:
BEGIN
:LAST_PAGE := nvl(:CURKENT_PAGE, :APP_PAGE_ID. ;
:CURRENT_PAGE := ;APP_PAGE_ID;
RETURN :LAST_PAGE;
END;
C.
Create an application computation on Item LAST_PAGE, computation point After Submit, type
PL/SQL Function Body and the computation body as:
BEGIN
:LAST_PAGE := :CURRENT_PAGE;
:CURRENT_PAGE : = :APP_PAGE_ID;
RETURN :LAST_PAGE;
END;
D.
On page 5 create a validation to check whether the value stored in application item
LAST_PAGE is equal to the value of APP_PREVJ_PAGE_ID where APPJ>REV_PAGE_ID is
Built-in Substitution String in Oracle APEX that stores the number of calling page.
E.
On page 5 use the value stored in application item LAST_PAGE to go back to the page from
which you browsed to the current page.