Java Reference
In-Depth Information
The
article.jsp
gets added to the
ViewController
project node. Similarly, add JSF
pages
section.jsp
and
edition.jsp
.
Adding JSF components to the article
JSF page
Next, construct the
article.jsp
JSF page. Select
JSF
UI components from the
Component
Palette
for JSF and add them to
article.jsp
. Components may be
added in two ways: Either drag the components from the palette to the
JSF
Page
Design
view, or position the cursor on the
JSF
Page
Design
view and click on
the component in the
Component
Palette
. First, add a header component for the
JSF page title. Position the cursor in the JSF page and select
Output
Format
in the
Component
Palette
. An
outputFormat
component gets added to
article.jsp
. The
code for the
Output
Format
component and the other components gets added to
article.jsp
automatically when the components are added to
article.jsp
.
Search WWH ::
Custom Search