Developer Tools
JDeveloper
You can work in JDeveloper's IDE to create pages by inserting and nesting various layout components to achieve the desired layouts.
Create a New Application: Use the Create Application wizard to create a generic application.
Create a JSF Page: Use the Create JSF Page dialog to add a new page. Add layout components to create a stretchable outer frame for your page contents.
Create Top and Bottom Content Areas: Add ADF Faces components to create the top and bottom areas of your page.
Create Three Splitter Panes in the Middle: Nest Panel Splitter components to create multiple panes on the page, then add contents into the left and right panes.
Add Contents in the Center to Complete the Page: Use a variety of ADF Faces components such as Panel Tabbed, Panel Collection and Table.
The JDeveloper application is the highest level in the organizational structure. It stores information about the objects you are working with, while you are creating your application. It keeps track of your projects and the environment settings while you are developing. [ tell me more...]
LayoutApp.
Application templates provide you with a quick way to create the project structure for standard applications with the appropriate combination of technologies already specified. The new application created from the template appears in the Application Navigator already partitioned into tiered projects, with the associated technology scopes set in each project. [ tell me more...]
Libraries are provided for the various APIs and technologies installed with JDeveloper. These libraries are categorized as extension libraries, which are shared by all users of an install. [ tell me more...]
When you complete the steps for creating a new application and project, the Projects panel in the Application Navigator should look like this: [ tell me more...]
To follow along with the example, in this step and throughout the cards, enter values as shown in the instructions. Then you will be able to follow the steps in the cue cards exactly as written. [ tell me more...]
LayoutPage.jspx and confirm that
Create as XML Document (*.jspx)
is selected.
ADF Faces provides a number of components that you can use to define the overall layout of the page. JDeveloper includes pre-defined page layouts that use these layout components to provide you with a quick and easy way to correctly determine the layout of your pages. [ tell me more...]
When you create a JSF page using the dialog, you can specify whether or not components on the page are exposed in a managed bean, to allow programmatic manipulation of the UI components. By default components are not exposed to managed beans. If you wish to bind components to managed beans, expand the Page Implementation section in the Create JSF Page dialog, then select one of the automatic binding options. [ tell me more...]
By default, when you create a JSF page in a project that uses ADF Faces technology, JDeveloper automatically includes the
af:document and
af:form tags for you in the
.jspx page file, as shown here: [
tell me more...]
5px each. Then change
BottomHeight to
25px, and press Enter.
Panel Stretch Layout does not accept direct children; children contents can be placed inside facets only. Panel Stretch Layout supports five facets that specify the panes where children contents can be inserted:
top,
bottom,
start,
end, and
center: [
tell me more...]
When you complete the steps for creating a JSF page and adding the Panel Stretch Layout and Decorative Box components, the page in the visual editor should look similar to this: [ tell me more...]
In this card, you will be adding contents into the top and bottom facets of the root Panel Stretch Layout to create the top and bottom areas of the page. [ tell me more...]
psl1).
200px
200px
5px
5px (Press Enter in the Property Inspector after modifying the last value.)
Panel Group Layout does not stretch its children, but the component itself can be stretched by its parent stretching component such as Panel Stretch Layout. The Panel Group Layout component can be stretched only when its
Layout attribute is
scroll or
vertical. When the
Layout attribute of Panel Group Layout is
horizontal or
default, the Panel Group Layout cannot be stretched. [
tell me more...]
In the Insert Image dialog, you can add an image by entering the image file name in the
Source field. Alternatively you can use the Edit Property dialog to navigate to a source and select an image file. To use the Edit Property dialog, click
at the end of the
Source field and choose
Edit. [
tell me more...]
When editing a page in the visual editor, you can use the breadcrumb links at the bottom of the editor window (just above the
Design and other editor tabs) to select a component on the page. The editor breadcrumb links show the path of names from the currently selected component back to its root parent component. The last name in the path (shown in bold font) is the currently selected component; the names preceding the last name are the parent components. If a component has its
Id attribute set, the
Id attribute value is appended to the component name (for example,
af:panelgrouplayout#pgl2, where
pgl2 is the
Id attribute value): [
tell me more...]
Layout Example. Expand the
Style section. In the
InlineStyle field, enter
font-size:small; color:Red; font-weight:bold; and press Enter.
psl2) you added in step 1 of this card. In the Property Inspector,
Common section, change the
Halign value to
end, and the
Layout value to
scroll.
padding-top:5px in the
InlineStyle field and press Enter.
The Navigation Pane component is used to create the navigation items for one level in a page hierarchy. A page hierarchy is a tree-like hierarchy of nodes that represent a series of related pages in an application. End users gain access to information on the pages by drilling down a path of links. [ tell me more...]
Home and press Enter.
Preferences and
Help.
psl1). In the Property Inspector,
Common section, change
Halign to
end, and
Layout to
scroll. In the Component Palette, drag another
padding-top:5px and press Enter.
When you click
at the top right corner of the selected panel group layout on the page, you will see a context dropdown menu of action items. One of the menu items is
Design This
Container
, which lets you edit the selected component (container) and its contents. [
tell me more...]
Copyright © 2009 and press Enter. In the
Style section, enter
margin:0 6px 0 6px; display:block in the
InlineStyle field, and press Enter.
The
margin property can have four values, such as
5px 5px 2px 1px to specify the top, right, bottom and left margins, respectively. [
tell me more...]
About XYZ and press Enter.
By default, JDeveloper automatically configures an integrated server named Integrated WebLogic Server that references a user-specific instance of Oracle WebLogic Server bundled with the IDE. Integrated WebLogic Server is a Java EE runtime service for packaged archive deployment. Based on zero-copy deployment, Integrated WebLogic Server lets you run and test an application and its projects as a Java EE application in a Java EE container. No special connection setup is required to use Integrated WebLogic Server. You can run the entire application, a project, or individual JSF pages. [ tell me more...]
When you complete the steps for adding contents to the top and bottom areas on the page, the visual editor should look something like this: [ tell me more...]
In this card, you will be working in the center facet of Decorative Box, which will contain everything on the page that is in between the top and bottom content areas. [ tell me more...]
The Panel Splitter component creates two resizable panes separated by an adjustable splitter. The panes can be placed horizontally (side by side) or vertically (top to bottom), as determined by the
Orientation attribute. By default,
Orientation is
horizontal. [
tell me more...]
ps1) you added in step 1 of this card. In the Property Inspector,
Common section, change
DiscloseMany to
true.
Pane 1. In the
Appearance section, change
Flex to
1. Then change the value of
StretchChildren to
first.
Show Detail Item cannot be used on its own; it must be used inside of a Panel Accordion or a Panel Tabbed to contain a group of children contents. [ tell me more...]
Pane 2. In the
Appearance section, change
Flex to
2. Then change
StretchChildren to
first.
30px and press Enter.
By nesting a Decorative Box into the
first facet of the second panel splitter (
ps2), you are setting up the center area before you add the center contents. [
tell me more...]
Crumb 1 and press Enter.
Crumb 2 and press Enter. Then repeat the procedure to insert a third navigation item in the same manner, using the
Text value of
Crumb 3.
The Bread Crumbs component is used to create a path of links from the current page back to the root page. Like the Navigation Pane component, the Bread Crumbs component accepts a series of Command Navigation Item components as children, with each Command Navigation Item representing one link. [ tell me more...]
When you complete the steps for creating three horizontal splitter panes in the page, the visual editor should look similar to this: [ tell me more...]
In this card, you will be creating the rest of the center pane contents in the center facet of Decorative Box. [ tell me more...]
5px each. Then change
BottomHeight to
25px and press Enter.
Tab 1. In the
Appearance section, change
StretchChildren to
first.
The Panel Tabbed component is used to create a series of tabbed panes with contents. When you add a Panel Tabbed, JDeveloper uses
above as the default value for the
Position attribute. This means the tabs will display above the pane contents only. Other valid values of
Position are
below and
both. The following illustration shows a Panel Tabbed component with its
Position attribute set to
both: [
tell me more...]
Tab 2. In the
Appearance section, change
StretchChildren to
first.
When a Table component is inserted into Show Detail Item, certain conditions must be met for Show Detail Item to allow the Table component to be stretched, namely: [ tell me more...]
The Panel Collection component is used to wrap direct children components such as Table, Tree, and Tree Table to provide menu, toolbar, and status bar items. The type of top level default menu and toolbar items it provides will vary according to the child component it contains. For example, when the child is Table, Tree, or Tree Table, the default top level menu item is View, and the default toolbar item is Detach. [ tell me more...]
Show Printable Page and press Enter.
Show Printable Page Behavior is a client behavior tag that provides a declarative solution to a common client operation that you would otherwise have to write yourself using JavaScript. When associated with a Command Button component, Show Printable Page Behavior generates and displays a printable version of the current page when users activate the command component. [ tell me more...]
When you complete the steps for adding tables into Panel Tabbed and Panel Collection, the visual editor should look similar to this: [ tell me more...]
Copyright © 1997, 2009, Oracle. All rights reserved.