| <?xml version="1.0" encoding="UTF-8"?> |
| <!DOCTYPE html |
| PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html> |
| <head> |
| <link rel="stylesheet" type="text/css" href="../../com.ibm.help.doc/swg_info_common.css" /> |
| <title>Page Data view</title> |
| <script language="JavaScript"> |
| function popup_window( url, id, width, height ) |
| { |
| popup = window.open( url, id, 'toolbar=no,scrollbars=no,location=no,statusbar=no,menubar=no,resizable=no,width=' + width + ',height=' + height + ',left=,top=' ); |
| popup.focus(); |
| } |
| </script><script language="JavaScript" src="help/liveHelp.js"></script></head> |
| <body id="cpagedataview"><a name="cpagedataview"><!-- --></a> |
| |
| <h1 class="topictitle1">Page Data view</h1> |
| <div><p>The Page Data view provides access to data objects in JSP files.</p><div class="p">The Page Data view allows you to add, modify, or delete data objects in |
| JSP files. The types of data objects are listed below. |
| <ul><li>Standard scripting variables that are available to all JSP files: |
| <ul><li><samp class="codeph">applicationScope</samp> that allows you to add and modify attributes |
| in the application object</li> |
| <li><samp class="codeph">param</samp> that allows you to add and modify attributes to |
| be used in the page object</li> |
| <li><samp class="codeph">requestScope</samp> that allows you to add and modify attributes |
| in the request object</li> |
| <li><samp class="codeph">sessionScope</samp> that allows you to add and modify attributes |
| in the session object</li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <p>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. </p> |
| <div class="p">You can add, delete, or modify data objects in a JSP file using the Page |
| Data view. To create and modify a data object: <ol><li>In the Page Data view, right click and select <span class="uicontrol">New</span>.</li> |
| <li>Select the type of object you want to create. An appropriate wizard opens, |
| depending on the type of object selected.</li> |
| <li>Fill in the fields of the wizard and select <span class="uicontrol">OK</span>. |
| 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.</li> |
| <li>Highlight the object in the Page Data view. The actions that are available |
| to the data objects include the following:<ul><li>Drag the object directly onto the JSP file. This generates the appropriate |
| controls in the JSP file. </li> |
| <li>Right-click and select <span class="uicontrol">Insert New Controls</span>. This |
| has the same effect as dragging the object onto the JSP file.</li> |
| <li>Right-click and select <span class="uicontrol">Delete</span> to remove the data |
| object from the Page Data view. This action does not delete existing data |
| object from the JSP file.</li> |
| <li>Right-click and select <span class="uicontrol">Configure</span> 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.</li> |
| </ul> |
| </li> |
| </ol> |
| </div> |
| </div> |
| <p><b class="relconceptshd">Related concepts</b><br /> |
| <a href="../../org.eclipse.platform.doc.user/concepts/concepts-5.htm">Views</a><br /> |
| <a href="../../org.eclipse.wst.webtoolscore.doc.user/topics/cpdjsps.html">JavaServer Pages (JSP) technology</a><br /> |
| </p> |
| <p> |
| (C) Copyright IBM Corporation 2000, 2005. All Rights Reserved. |
| </p> |
| </body> |
| </html> |