New JSF Pages from Entity Class Wizard
See Also
This wizard generates JSP pages with JSF components based on entity classes in your web application.
The generated JSP pages provide a web interface for the entity classes.
The left column lists the entity classes in the module with data to be persisted.
For each entity class, the IDE creates four JSP pages enabling you to view, edit, create, and destroy entries in the data source.
- To use JSF components in your web application, you must make sure that your project supports the JSF Framework.
You open the wizard by right-clicking a
web application project node and choosing New File/Folder, selecting the Persistence category and then selecting JSF Pages from Entity Classes.
Use this page as follows:
- Select any entity classes from the available entity classes in the left panel and click Add.
When you click Add, the entity classes you select are listed in the right pane.
Any entity classes referenced by the entity classes you select are also listed in the right pane.
An entity class is greyed to indicate that it is referenced by another entity classes.
The IDE automatically generates JSP pages for each of the entity classes listed in the right pane.
- Include Related Classes. Deselect this if you do not want JSF pages created from referenced entity classes.
- Click Next to specify where to save the generated pages.
- See Also
- Generating JSF Pages from an Entity Class
- Creating a New Application with JSF Support
- Adding JSF Support to an Existing Application
Legal Notices