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. The types of data objects are listed below.
- Standard scripting variables that are available to all JSP files:
- applicationScope that allows you to add and modify attributes
in the application object
- param that allows you to add and modify attributes to
be used in the page object
- requestScope that allows you to add and modify attributes
in the request object
- sessionScope that allows you to add and modify attributes
in the session object
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 and select New.
- 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 see 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.
Related concepts
Views
JavaServer Pages (JSP) technology
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.