JSF 1
JSF 1
Table of contents
1 Introduction........................................................................................................................2
2 Enabling Java Server Faces................................................................................................2
2.1 Integrate JSF Tags in Your Web App........................................................................... 2
2.2 Configure Your Web Application................................................................................. 2
Java, J2EE, and JCP are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other
countries.
Java Server Faces
1. Introduction
JavaServer Faces is technology for building web application user interfaces. It allows
development of very rich component- and event-based pages. NetUI Page Flow treats JSF
pages as first-class citizens. In addition to allowing the use of "straight" JSF features, it
integrates in the following ways:
• When a JSF page is accessed directly or from a Page Flow action, an associated "backing
bean" class is looked up. If it exists, an instance is created and managed by the
framework. This bean can contain JSF component references, event handlers, etc., and it
can raise Page Flow actions, with or without form beans attached. Its lifetime is tied to
the lifetime of the JSF page.
• Components in JSF pages can also raise Page Flow actions directly, with or without form
beans attached, using the built-in action attribute.
• Pages can databind to NetUI objects using JSF-style expressions like
#{pageFlow.someProperty} or
#{pageInput.somePageInput.someProperty}.
• A page can databind to properties in its associated backing bean through a "backing"
context, e.g., #{backing.someProperty}.
• When returning to a JSF page through the navigateTo feature, the page's component tree
and its backing bean are restored.
The NetUI / JSF Sample demonstrates these features.
Java, J2EE, and JCP are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other
countries.
Java Server Faces
<navigation-rule> element(s).
Java, J2EE, and JCP are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other
countries.
© 2004, Apache Software Foundation
Java, J2EE, and JCP are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other
countries.