Creating JavaServer Faces 2.0 portlet applications
JavaServer Faces (JSF) gives you the ability to create
form-based applications. You can implement JavaServer Faces technology
in your portal application by using different views. Use the Standard
Faces Components and Facelet Tags drawers in the Palette view to add
user interface (UI) components and define data sources for the page.
Use the Data and Services drawer in the Palette view to define new
data sources and drag data components such as JavaBeans beans and relational record lists
to the page. The Page Data view shows the defined data sources.
In JSF 2.0, Facelets is the standard view decoration language for JSF application development. It is not recommended to combine Faces JSP and Facelets in the same project.
Facelets provides a lightweight template framework that is designed
for component reuse and ease of development and maintenance. Facelets
offers the following features to help you create robust, flexible,
and extensible user interfaces:
- Templates to define layout
- Composite components, so that you can turn a page into a JSF UI component
- Custom logic tags
- Expression functions and validation
- Component libraries
- XHTML page development
The portlet tools in this product fully support JSF 2.0 portlet
development. You can create Portlet Facelet and templates, drag and
drop Facelet UI components from the palette to Facelet, and edit the
component attributes in the Properties view. Content assist for JSF
tags and JavaScript is available. To create a JSF application complete
the following tasks: