Developer Tools
JDeveloper
Create a New JSF Page: Create a new JSF page for adding components such as Change Mode Button or the Show Details Frame.
Add Oracle Composer Components to the Page : From the Oracle Composer tag library, add different components, for example, Change Mode Button, Show Detail Frame, and so on to the JSF page.
Add Content to the Page: Add content, for example, an image and a Rich Text Editor, to the JSF page.
Edit the Page at Runtime : Run the page to display it in a browser and edit page settings, add content, change the component layout, and so on.
To begin creating a new WebCenter application, open the Create Application dialog by clicking New Application in the Application Navigator. [ tell me more...]
MyWebCenterApp, to follow along with the example.
The WebCenter Application template contains the necessary technology scope for including Oracle WebCenter features in your application, such as Oracle Composer, the Resource Palette, task flows, content integration, and WebCenter Services. The WebCenter Application template also divides the application into two projects: [ tell me more...]
When you create your application and projects using the WebCenter Application template, the Application Navigator should look like this: [ tell me more...]
The pages you create for your WebCenter application are JavaServer Faces (JSF) documents. These documents have the
.jspx file extension. You can create JSF pages using the
Create JSF Page dialog. To begin creating a JSF page, right-click the
ViewController project and select
New. In the
New Gallery, expand
Web Tier, and select
JSF and then
JSF Page to open the Create JSF Page dialog. [
tell me more...]
myPage.
When you create your JSF page, the Application Navigator should look like this: [ tell me more...]
The Oracle Composer library provides various components, such as Change Mode Link, Page Customizable, Show Detail Frame, and so on, to make a page editable and define the behavior of content on a page at runtime (for example, move, sequence, or hide components). You can display the list of Oracle Composer components by selecting Oracle Composer from the Component Palette dropdown list. [ tell me more...]
myPage.jspx file to open it in the editor window.
af:form element of the page in the Structure window.
pe:changeModeLink element inside the
af:form element in the Structure window.
This component defines the editable area of a page at runtime. Within this area, you can add content to the page, edit properties for a selected component, arrange content, and so on. When you add a
Page Customizable component to the page, a
Panel Customizable component is added as a child component of the
Page Customizable component, and a
Page Editor Panel component is added to its
editor facet. [
tell me more...]
cust:panelCustomizable element, which is nested inside the
pe:pageCustomizable element in the Structure window.
This component enables you to apply a particular layout to an area of your page or by selecting from a set of predefined layouts (for example, two column, three column, and so on). By default, one Panel Customizable component is added as a direct child, and two are added in the facets of the Layout Customizable component. [ tell me more...]
cust:panelCustomizable element, which is nested inside the
pe:layoutCustomizable element in the Structure window.
cust:ShowDetailFrame element under each
cust:panelCustomizable element in the
Layout Customizable facets in the Structure window.
When you add Oracle Composer components to your page, the Structure window and Design view should look like this: [ tell me more...]
Once you have created a customizable page, you can design your page by adding the required content either at design time or at runtime. To enable runtime editing of a component, ensure that the component is nested within the Page Customizable component at design time. [ tell me more...]
myPage.jspx file to open it in the editor window.
contentA (in the first facet) element under
the
cust:showDetailFrame element
, which is nested inside the
cust:panelCustomizable element
in the Structure window, and specify the path to the image file that you want to add to the page.
pe:layoutCustomizable element >
contentB >
cust:panelCustomizable >
cust:showDetailFrame element, in the Structure window.
af:richTextEditor and choose
Go to Properties. Under the
Appearance tab, set the value of the
Simple property to
true.
When you add content, for example an image, to your page, the Structure window and Design view should look like this: [ tell me more...]
At runtime, you can personalize the page in View mode. In Edit mode, you can customize the page for yourself and for other users of the page. [ tell me more...]
myPage.jspx file.
When you run the page, you see it in View mode along with the Edit link. Click Edit to see your page in Edit mode. [ tell me more...]
Copyright © 1997, 2009, Oracle. All rights reserved.