New JSF Pages from Entity Class Wizard: Entity Classes
See Also
The JSF Pages from Entity Class 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.
For each entity class, the IDE creates four JSP pages enabling you to view, edit, create, and destroy entries in the data source.
The IDE also creates controller and converter classes for each entity class.
- To use JSF components in your web application, you must make sure that your project supports the JSF Framework.
You open the wizard by opening the New File wizard and selecting JSF Pages from Entity Classes in the Persistence category.
Use this page as follows:
- Select any entity classes from the list of available entity classes in the left pane and click Add.
When you click Add, the entity classes you select are added to the list in the right pane.
Any entity classes referenced by the entity classes you select are also listed in the right pane.
An entity class name that is gray indicates that the entity is referenced by another entity class.
The IDE automatically generates JSP pages for each of the entity classes listed in the right pane.
- Include Referenced 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
- About Web Application Frameworks
- Generating JSF Pages from Entity Classes
- Creating a New Application with JSF Support
- Adding JSF Support to an Existing Application
Legal Notices