Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Oracle APEX – What is source of "Request" in "Request is contained in Value"

I’m looking at an APEX app where there is a "Close Dialog" process, with a Server-side Condition of "Request is contained in Value". The Value input lists "CREATE,SAVE,CLEAR". Where is that value set so that APEX can check that it’s one of the items in that list? The help text for that condition check only says "The page request is contained in the text you enter into the Value attribute." So how is "page request" set? Is it simply that I clicked a button located in the page layout "SAVE" region (for example)? The oracle docs (https://docs.oracle.com/en/database/oracle/apex/22.2/htmdb/available-conditions.html#GUID-FC6694F1-24AA-4780-B8C1-650F5FBA4653) don’t appear to elaborate.

Thank you

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

When a button is clicked and the behaviour of the button is set as "submit page" then the name of the button (not label, directly the name) is the request for page submit.
If the behaviour is "defined by dynamic action", then dynamic action of type "submit page" has the attribute of "request" so you can enter there.
Another option would be in the dynamic action of type "Execute Javascript code", apex.page.submit("request_name") is the function for submitting page with this request.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading