tell me more icon Creating a JSF Page

The JSF pages you create for a web application using JavaServer Faces and ADF Faces are JSP documents (which have the file extension .jspx) or JSP pages (which have the file extension .jsp).

You can create the pages with the Create JSF Page dialog, opening it from:

  • The New Gallery
  • The ADF Task Flow diagrammer

You will create the browseOrders.jspx page and add a layout component to start defining the layout of components on the page. To open the dialog, in the ADF Task Flow diagrammer, you will double-click the browseOrders page icon:

JSF page icon

When you create a new JSF page, JDeveloper automatically creates a starter page structure with a JSP page directive, and the namespaces for the JSF Core, HTML, and ADF Faces tag libraries. The other elements included in a starter file are elements for laying out a page, specifically the tags within <f:view> and </f:view>.

                                <?xml version='1.0' encoding='windows-1252'?> <jsp:root xmlns:jsp="#" version="2.1"           xmlns:f="#"           xmlns:h="#"           xmlns:af="http://xmlns.oracle.com/adf/faces/rich">   <jsp:directive.page contentType="text/html;charset=windows-1252"/>   <f:view>     <af:document..>       <af:form..></af:form>>     </af:document>   </f:view> </jsp:root>   
                            

At creation time you can specify how you want to bind components on the page to a backing bean, if desired. You can also optionally specify a page template or quick start layout to use for the new page.

Create JSF JSP dialog

Copyright © 1997, 2009, Oracle. All rights reserved.

false ,,,,,,,,,,,,,,,