Hi all,
24.1.5 is my apex version
I have a select list where if I select an option, I want to navigate to modal page. I am positive that this is defined as a modal page:

Here's how I'm linking: DA on Change, runs severside code;
BEGIN
:P7_RG1 := :P7_RG1 ;
IF :P7_RG1 = 'C' THEN
apex_util.redirect_url('f?p=&APP_ID.:9:&APP_SESSION.');
ELSE
apex_util.redirect_url('f?p=&APP_ID.:5:&APP_SESSION.');
END if ;
END;
I get this error:
Error MessageUserPageDateAPEX - Application 567 Dialog page 9 cannot be rendered successfully. Ensure the page template in use on page 9 is of template type "Dialog page", with appropriate JavaScript dialog initialization, dialog closure and dialog cancel code defined. - Contact your application administrator. ORA-06512: at "APEX_240100.WWV_FLOW_ERROR", line 1531 ORA-06512: at "APEX_240100.WWV_FLOW_ERROR", line 1566.
Basically my goal:
User selects value; If the value is whatever, links to the page, user selects a reason from the modal page (P9, or something) and then click in the modal page (m1) that yes, this is the reason and it runs some calls to the db to update some values.