Oracle Tips by Burleson Consulting
This is all fine and works just fine, but after
will want to put it into a script so you can make it reusable on
created previously, or downloaded reusable code from the internet,
you can follow the same steps mentioned here to add the file to the
easy_java.js using the code in Listing X.1. However, when
converting the inline code from the HTML Header section you will
need to remove the <script> and </script> tags. These tags are
necessary in the HTML Header section, but are not permitted when the
reference, the file named easy_java.js in the code depot.
To upload the easy_java.js script into the
Navigate to Shared Components for the Easy Samples
Click on the Static Files link.
Click the Create button.
Application: select the Easy Samples option.
Filename: click the Browse… button and navigate to the Code
Depot and select the easy_java.js file.
Click the Upload button.
CODE DEPOT FOR FULL SCRIPTS
Now you have added the easy_java.js script to
the script repository and it is available for all application pages
to take advantage of. Navigate back to the page attributes page for
the Java Script page and edit the HTML Header text area to include
the text as shown in Figure X.4.
Referencing the functions, in the uploaded
following code to the HTML Header section of the Page attributes
Figure X.4 –
APEX developer support:
||For APEX development support just call to gat an
Oracle Certified professional for all APEX development
For more information on this topic, see the
book "Easy Oracle HTML-DB Application Express
", the best book anywhere on expert APEX
||Easy Oracle HTML-DB Application Express
By Michael Cunningham & Kent Crotty
Buy it now and get the code depot download