The JSF pages you create for your application can be JSP pages (which uses the file extension
.jsp) or JSP documents written in XML syntax (which uses the file extension
.jspx). Oracle recommends that when creating pages with ADF Faces components, you use XML-based JSP documents that use
.jspx rather than
You can create the pages with the Create JSF Page dialog, opening it from:
To use the New Gallery, you will right-click the project in the Application Navigator and choose New . Then in the New Gallery, expand the Web Tier category and select JSF, and in the Items list, select JSF Page.
In the Create JSF Page dialog, you can specify whether to bind components on the page to a backing bean. You can also optionally define some aspects of the look and feel for the new page. In the example, you will not use a page template, a quick start layout, or choose to let JDeveloper automatically use a backing bean for the page.
When you create a new JSF page as an XML document (
.jspx), JDeveloper automatically creates a starter page structure with a JSP page directive, and
jsp:root as the root element with three
xmlns attributes for the ADF Faces, JSF Core, and JSF HTML tag libraries. The other elements included in a starter file are elements for laying out a page, specifically everything else within
Copyright © 1997, 2009, Oracle. All rights reserved.false ,,,,,,,,,,,,,,,