Page Data view
The Page Data view provides access to data objects in JSP files.
The Page Data view allows you to add, modify, or delete data objects in JSP files. Supported data types include:
- Standard scripting variables that are available to all JSP files:
- applicationScope enables you to add and modify attributes in the application object
- param enables you to add and modify attributes to be used in the page object
- requestScope enables you to add and modify attributes in the request object
- sessionScope enables you to add and modify attributes in the session object
- Other data objects, depending on the type of JSP file:
- Page Bean
- J2C JavaBean
- JavaBean
- Faces Managed Beans
- JPA
- Struts Form Beans
- SDO Relational Records
- SDO Relational Record
- SDO Relational Record List
- Domino
- Domino® Note
- Domino View
- Services
- EJB Session bean
- Service Data Object
- Web Service
- RPC Adapter Services
The Page Data view is, by default, shown in the bottom left corner of the workbench. It shares a pane with several other views including the Outline view, the Client Data view, and the Thumbnails view.
You can add, delete, or modify data objects in a JSP file using the Page Data view. To create and modify a data object:
- In the Page Data view, right click on a category, and select
New (or click on the New icon in the toolbar.)
- Select the type of object you want to create. An appropriate wizard opens, depending on the type of object selected.
- Fill in the fields of the wizard and select OK. The new object appears in the Page Data view. You will need to expand the appropriate section of the Page Data view to Refer to the new object.
- Highlight the object in the Page Data view. The actions that are available to the data objects include the following:
- Drag the object directly onto the JSP file. This generates the appropriate controls in the JSP file.
- Right-click and select
Insert New Controls. This has the same effect as dragging the object onto the JSP file.
- Right-click and select
Delete to remove the data object from the Page Data view. This action does not delete existing data object from the JSP file.
- Right-click and select
Configure to modify the attributes of the data object in the Page Data view. This action does not change the existing data objects in the JSP file.
Tip: A category will display in the Page Data View when the required facets are installed. If a data category does not display in the Page Data View, ensure that all the required facets are installed for your project.