Before You Begin
This 15 minute tutorial describes how to transition an Oracle Application Express release 5.1 application that uses jQuery Mobile to the new Universal Theme in Oracle Application Express 18.
This is the first tutorial in the series, Oracle Application Express 18: jQuery Mobile to Universal Theme. Read the tutorials in the following sequence:
- Oracle Application Express 18: jQuery Mobile to Universal Theme (1 of 4) - Getting Started
- Oracle Application Express 18: jQuery Mobile to Universal Theme (2 of 4) - Updating Attributes
- Oracle Application Express 18: jQuery Mobile to Universal Theme (3 of 4) - Creating Navigation
- Oracle Application Express 18: jQuery Mobile to Universal Theme (4 of 4) - Running and Testing
Background
Previous releases of Oracle Application Express used jQuery Mobile to create mobile pages. jQuery Mobile will be desupported in a future release. Therefore, developers need to migrate jQuery Mobile pages to the Universal Theme. In Oracle Application Express release 18, the Universal Theme - 42 includes new UI responsive patterns that work equally well on small screen devices (such as smartphones and tablets) and larger screen devices (including laptops and desktops).
In this tutorial, you import and install the 5.1 Sample Projects application. You will update the Universal Theme to ensure you are using the latest styles and templates and then create new pages by copying existing mobile pages. In subsequent tutorials, you update page attributes to take advantage of new template enhancements, create new navigation for your pages, and then test the new mobile pages using a device emulator.
What Do You Need?
To complete this tutorial you need:
- Download and unzip the 5.1 Sample Projects application, 5_1_sample_projects.zip.
- Access to Oracle Application Express release 18.1 or later.
Accessing Your Development Environment
How you sign in and access Oracle Application Express depends upon where Oracle Application Express resides. Oracle Application Express may reside in a local on-premises Oracle Database or in a hosted environment, such as the Oracle Cloud. The sign in credentials you use to sign in differ depending upon the installation type.
- Free Workspace: Give Oracle Application Express a test run by signing up for a free workspace. To request an evaluation workspace, go to apex.oracle.com, and click Get Started for Free.
- Oracle Cloud: Develop and deploy applications without worrying about infrastructure, repair, and downtime. Oracle Application Express is available in Exadata Express Cloud Service and Database Cloud Service. However, you need to manually customize your databases to install and enable Oracle Application Express. To learn more, see Database Cloud Service.
- Oracle Application Express On-premises: Install Oracle Application Express directly within any Oracle Database and then sign in to your workspace using your sign in credentials. For details on your sign in credentials, contact your administrator or see Oracle Application Express Installation Guide.
- Oracle Application Express Pre-Built VM:
Install a Pre-Built Virtual Machine (VM) which includes an
Oracle Database and Oracle Application Express 18.1. To learn
more, see Hands-On
Labs.
Once the VM is installed, start the VM: - Click the big red circle labeled Start.
- Click
the APEX shortcut, or enter the
following URL:
http://localhost:8080/ords/f?p=4550:1
- When prompted to sign in, enter the sign in credentials (unless given other credentials to use):
- Workspace:
obe
- Username:
obe
- Password:
oracle
Note your Application ID may be different when compared to the screenshots in this tutorial. Your Application ID is assigned automatically when you create the application.
Download,
Import, and Install the 5.1 Sample Projects Application
To download, import, and install the 5.1 Sample Projects application:
- Sign in to your development environment.
- Navigate to the Import page:
- On the Workspace home page, click the App Builder icon.
- On the App Builder home page, click Import.
Description of the illustration import_projects.png The Import page appears.
- On the Import page:
- Import file: Navigate to the export file,
5_1_sample_projects.sql
, you previously downloaded and unzipped. - File Type: Select Database Application, Page, or Component Export.
- File Character Set: Accept the default, Unicode, UTF-8.
- Click Next. The File Import Confirmation page displays indicating the export file has been imported.
- To install the file, click Next. The Install Database Application dialog appears.
- On Install Database Application dialog:
- Parsing Schema: Select a schema. This is the schema against which all of the application's SQL and PL/SQL are parsed.
- Build Status: Select Run and Build Application.
- Install As Application: Select Auto Assign New Application ID. If you choose to select your own application ID, you must specify an application ID that is unique across all Application Express workspaces.
- Click Install Application.
- On Install Application, Supporting Objects:
- Accept the defaults and click Next.
- Click Next.
- On Install Application, Confirmation, click Install. A confirmation page appears indicating the application's supporting objects are installed.
- Click Edit Application. The Application home page appears.

Refresh
the Universal Theme
First, you need to update the Universal Theme to use the latest styles and templates.
To refresh the Universal Theme:
- Navigate to the Shared Components page. On the Application
home page, click the Shared Components icon.
Description of the illustration shared_components_icon.png The Shared Components page appears.
- Under User Interface, click Themes.
Description of the illustration shared_components.png The Themes page appears. Verify that the Subscribed From column for Universal Theme says Theme Repository.
- Click Universal Theme - 42. The Create/Edit Theme page appears.
- Scroll down and find the Theme Subscription region. In the
region header, click Verify.
Description of the illustration theme_verify.png The Verify Theme Subscription dialog appears.
- In the Theme Subscription dialog, click Verify. Another dialog appears confirming the current theme matches the master them. Click OK.
- In the Theme Subscription region header, click Refresh
Theme. The following message appears at the top of
the page:
Templates and template options refreshed from master theme.
- Click Apply Changes. The Themes page appears again.

View
the Existing Mobile Tasks Page
To view the existing mobile Task pages:
- On the Themes page, click the Run icon in
the upper right corner.
Description of the illustration themes_run_pg.png A Login page appears.
- Enter your workspace username and password and click Log In. The Sample Projects application appears
- Click the Mobile navigation bar icon in
the upper right of the page.
Description of the illustration mobile_nav_icon.png The mobile Home page appears.
- Click Incomplete Tasks. The Tasks page
appears.
Description of the illustration 5_1_tasks_page.png The Tasks page contains a List View report. You can view details about a task by clicking anywhere on a task. Clicking the icon in the upper left of the page displays a conventional navigation menu. In the next few steps, you will create a copy of the Tasks and Maintain Tasks pages to take advantage of other UI enhancements in the Universal Theme. Then, in a later tutorial you will create a new tab-based navigation menu.
- Navigate back to the Application home page:
- Click the Browser tab containing to the Themes page.
- Click the Application ID in
the breadcrumb at the top of the page.
Description of the illustration themes_breadcrumb.png Application home page appears.
Copy
Page 47 - Tasks
To copy the existing mobile Tasks page:
- View the mobile Tasks page in Page Designer. On the
Application home page, find and select page 47 -
Tasks.
Page Designer displays Page: 47 - Tasks. - On the Page Designer toolbar, select the Create menu
and then Page as Copy.
Description of the illustration page_as_copy.png - For Create a page as a copy of, select Page in this application and click Next.
- For Page to Copy:
- New Page Number: Enter 547
- New Page Name: Enter
New Mobile Tasks
- Accept the remaining defaults.
- Click Next.
- For Navigation Menu:
- Navigation Preference: Select Do not associate this page with a navigation menu entry.
- Click Next.
- Click Copy. Page Designer now displays Page 547: New Mobile Tasks.
The Copy Page dialog appears.
Copy
Page 42 - Maintain Tasks
To copy page 42 - Maintain Tasks:
- Navigate to page 42 - Maintain Tasks:
- Find the Page Designer toolbar.
- Enter
42
in the Page Selector and click Go.
Description of the illustration page_selector.png - On the Page Designer toolbar, select the Create
menu and then select Page as Copy.
Description of the illustration page_as_copy2.png - For Copy Page Option, select Page in this application and click Next.
- For Page to Copy:
- Page Number: Enter 542
- Page Name: Enter
New Mobile Maintain Tasks
- Accept the remaining defaults.
- Click Next.
- For Navigation Menu:
- Navigation Preference: Select Do not associate this page with a navigation menu entry.
- Click Next.
- Click Copy. Page Designer now displays Page 542: New Mobile Maintain Tasks.
- Return to the Application home page. Click the Application ID breadcrumb at the top of the page. The Application home page appears.
Page 42 - Maintain Tasks appears.
The Copy Page dialog appears.
This ends the first tutorial in this series.
Next
Tutorial
Oracle Application Express 18: jQuery Mobile to Universal Theme (2 of 4) - Updating Attributes