Shared components are common elements that can display or be applied on any page within an application. Examples of shared components include:
Logic controls, such as application items, application processes, application computations, Web service references, and build options
Security controls, such as creating authentication and authorization schemes, enabling session state protection, or configuring Security attributes
Globalization tasks such as translating an application, translating messages, or configuring globalization attributes
Navigation controls, such as breadcrumbs, lists, navigation bar entries, tabs, and trees
User interface elements, such as themes, templates, user interface defaults, lists of values, and shortcuts)
File management, such as managing cascading style sheets, images, and static files
You can use the tools and wizards on the Shared Components page either at the application-level, or on specific pages.
Topics:
To access the Shared Components page:
Navigate to the Workspace home page.
Click the Application Builder icon.
Select an application.
On the Application home page, click Shared Components.
The Shared Components page appears.
To create a shared component, select the appropriate link.
The following sections describe each link on the Shared Components page.
Application level items do not display, but are used as global variables to the application. Commonly, you set the value of a page-level item using an application or page computations.
Use application processes to run PL/SQL logic:
At specific points for each page in an application
As defined by the conditions under which the process is set to execute
Upon the creation of a new session
Note that On Demand processes executes only when called from page-level On Demand process.
Use application-level computations to assign values to application and page-level items for each page displayed or upon the creation of a new application session. You can also create an application-level computation and execute it conditionally on multiple pages.
Web service references in Oracle HTML DB are based on the Simple Object Access Protocol (SOAP). You can create a reference to a Web service and then incorporate it into an application to process data submitted by a form, or to render output in the form or report.
Use build options to conditionally display or process specific functionality within an application. You can use build options to control which features of an application are turned on for each application deployment.
Authentication is the process of establishing each user's identify before they can access your application. Authentication may require a user enter a user name and password or may involve verification of a user's identity or use of a secure key
Authorization controls user access to specific controls or components based on predefined user privileges.
Session State Protection is a built-in functionality that prevents hackers from tampering with the URLs within your application. URL tampering can adversely affect program logic, session state contents, and information privacy.
Use the Edit Security Attributes page to configure general security attributes for all pages within an application.
You can develop applications in Oracle HTML DB that can run concurrently in different languages. A single Oracle database and Oracle HTML DB instance can support an application in multiple languages. Translating an application involves multiple steps. Click this link to access the Translate Application page.
Text messages are named text strings that can be called from PL/SQL code you write. This PL/SQL can be anonymous blocks within page processes and page regions, or in packages and procedures.
You can develop applications that can run concurrently in different languages. Click this link to specify globalization options such as the Application Primary Language and Application Language Derived From attributes.
Breadcrumbs provide users with hierarchical navigation. A breadcrumb is a hierarchical list of links that display using templates. You can display a breadcrumb as a list of links, or as a breadcrumb path.
A list is a shared collection of links. You control the appearance of a list through list templates. Each list element has a display condition that enables you to control when it displays.
Navigation bars entries offer users a simple navigation path for moving between pages in an application. The location of a navigation bar depends upon the associated page template. Navigation bar entries can display as a link from an image or text. A navigation bar entry can be an image, an image with text beneath it, or text.
Tabs are an effective way to navigate users between pages in an application. You can create two types of tabs: standard tabs or parent tabs. A standard tab set is associated with a specific page and page ID. A parent tab set functions as a container to hold a group of standard tabs
Templates control the look and feel of specific constructs within your application, such as pages, regions, items, and menus.
User interface defaults enable you to assign default user interface properties to a table, column, or view within a specified schema. When you create a form or report using a wizard, the wizard uses this information to create default values for region and item properties.
Because user interface defaults are associated with a table, you can use them with applications created using the form and report wizards.
A list of values (LOV) is a static or dynamic set of values used to display a popup list of values, select list, check box, or radio group.
Use shortcuts to avoid repetitive coding of HTML or PL/SQL functions. You can create a shortcut to define a page control such as a button, HTML text, a PL/SQL procedure, or HTML. Once you define a shortcut it is stored in a central repository so you can reference from various locations within your application.
Oracle HTML DB includes themes that contain templates that reference their own cascading style sheets (CSS). Use the Cascading Style Sheets link to upload cascading style sheets to your workspace.