oracle-apex-5

Oracle Apex Set values before moving to another page, Items are all null

痴心易碎 提交于 2019-12-06 05:55:55
I am trying to do the following: Anonymous user with a unique key enters a code and clicks 'Start Survey' The button needs to call a plsql process to populate some hidden page items. Once the values are set branch to the survey page which will use the hidden items for filtering results. The Problem No matter what I have tried so far the items set by the process are null when I get to the next page. I assume this is because it did not submit. The way I have it at the moment is: Button navigates to the next page New process set to when the button is pressed sets the values of the page items. By

Installing Oracle REST Data Services (ORDS) on Tomcat

醉酒当歌 提交于 2019-12-06 05:15:29
I have installed JDK and Tomcat 8 on the server. Now I need to install ORDS and connect it to Tomcat. I went through various documentation and downloaded ORDS on the server. Now I have a couple of questions as all this stuff is new to me and documentation is not very clear most of the time. There is java.exe in the directory to which I installed JDK and there is java.exe in the directory where all the ORDS files are unzipped. Does it matter which one I use to run the installation? java -jar ords.war standalone --port 8090 Now my second question is do I run standalone ORDS installation and

Oracle Apex 5 Opening page in new window

南笙酒味 提交于 2019-12-06 04:28:51
I am using Oracle Apex 5. On the page i have two items that are filled out (dynamic actions automatically refresh an interactive report based on the values of those two items). Also i have a button PRINT which is supposed to open a new page and send the values of the two items. Since i want this new page to open in a new window(tab) i am doing it by making the action of the button redirect to url and entering this Javascript in the url: javascript:var myWindow = window.open('f p=800:105:&APP_SESSION.::NO::REP_NAME,PAR1_NAME,PAR1_VAL,PAR2_NAME,PAR2_VAL:NarudzbenicaDobavljacV2,P_ACCOUNT_ID,&P15

Apex 5.0: Show a progress bar while Database Action is performed

人走茶凉 提交于 2019-12-05 06:57:58
问题 Implementing a Waitbar or Progressbar In my Apex 5.0 application I have a SQL Update which is taking very long to process, and I want to implement an indicator to show that it is still running, so that the user won't start the action again. A progressbar would do the trick, can anyone suggest a way of doing so? (plugins aren't possible) 回答1: Just Change the action of your SUBMIT button to Dyanamic Action On dynamic action choose ON CLICK as Event .Choose Button for Selection Type and Choose

How do I get the value of a select item from a page without submitting in Apex 5?

一个人想着一个人 提交于 2019-12-04 16:46:44
I wish to have the user make a choice in a select box and then in a Dymamic Action which waits for the select box to be changed it reads the select box value that was chosen Create a Dynamic Action which fires on "Change". As a true action: Action: "Set Value" Set Type: "JavaScript Expression" Javascript Expression: apex.item(this.triggeringElement).getValue() Choose the item to set the value with under "Affected Elements" This will get the value of the element which triggered the change event and will set it to the affected element you choose. Note though: the value of the select list will be

Apex 5.0: Show a progress bar while Database Action is performed

…衆ロ難τιáo~ 提交于 2019-12-03 21:39:12
Implementing a Waitbar or Progressbar In my Apex 5.0 application I have a SQL Update which is taking very long to process, and I want to implement an indicator to show that it is still running, so that the user won't start the action again. A progressbar would do the trick, can anyone suggest a way of doing so? (plugins aren't possible) Just Change the action of your SUBMIT button to Dyanamic Action On dynamic action choose ON CLICK as Event .Choose Button for Selection Type and Choose Name of your submit Button to Button Then on Action , Choose SUBMIT PAGE Then on Request /Button Name , put

Oracle Apex 5.0 - Display static image

廉价感情. 提交于 2019-12-03 21:12:26
I'm new to Oracle Apex and I'm really struggling how to display static images on a desktop application. I uploaded an image at Shared Components -> Files -> Static Application Files and was given the reference #APP_IMAGES#test.jpg In my application I then used this reference in the 'source' section by selecting 'item' and then typing #APP_IMAGES#test.jpg in the textbox When I run the application the image doesn't appear. The regions are visible but no image. I don't even get an error. I appreciate any help You still need to use html. Try: <img src="#APP_IMAGES#test.jpg" alt="image"> There are

Apex 5 : Dynamic action set page item value

不羁的心 提交于 2019-12-03 15:18:16
问题 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) <<< DOESN'T WORK *I Yes P@_FROM exist and verified nv(:P2_TO, 'test') <<< DOES WORK I have tried this both on apex.oracle.com and my own host both wont work. Some more info: 回答1: That's pretty logical. You're referencing session state of the variables, and it is likely empty. It's not because items P2_TO or P2_FROM have a value on the page in your