Setting page code file preferences for Faces JSP files

When you create a Faces JSP file a corresponding file is created that contains its Java™ page code. The page code files includes such information as the Java classes being referenced, data you're referencing when you drag records to the page, binding information, and any code scripted in the Quick Edit view for button actions or value-changed events. By default, a page code file is generated for each Faces JSP, but you can change this at any time in the Preferences settings. You also have the options to delete page code file information when you delete a Faces JSP and to generate fields and getters in the page code file for all Faces components.
Note: A page code file is required if you want to add a relational record or relational record list to a Faces JSP. If you have page code suppression turned on when adding a relational record or relational record list, you are prompted to allow a page code file to be generated.
To set Java page code file preferences for a Faces JSP page:
  1. Before creating a new Faces JSP page, click Window > Preferences .
  2. Click Web Tools > Faces.
  3. Select or clear the following:
    • Suppress Page Code file generation - select if you do not want a page code file created for a Faces JSP.
    • When a Faces JSP is deleted also delete its associated Page Code file - clear to retain page code file information when deleting Faces JSP files.
    • Generate fields and getters into Page Code file for Faces components inserted into page - clear if you do not want fields and getters generated in page code for each component.

Feedback