EGL Reference Guide for iSeries
The Quick Edit view allows you to maintain EGL page handler code for JSP
server events without opening the page handler file. To use the Quick
Edit view, do as follows:
- Open a JSP file in the Page Designer. If you do not have a file
open, double-click on the JSP file in the Project Navigator. The JSP
opens in the Page Designer. Click the Design tab to access the
Design view.
- Right-click in the Page Designer, then select Quick Edit.
The Quick Edit view opens.
- Follow these steps to maintain page handler functions for command
components:
- Select a command component in the JSP.
- If the command component already has a page handler function associated
with it, the function displays in the script editor (right pane) of the Quick
Edit view. Any changes you make to the code are reflected in the page
handler.
- To create a page handler function for the selected command component,
click Command in the event pane (left pane) of the Quick Edit view,
then click in the script editor (right pane) of the Quick Edit view.
The function displays. Type the page handler code for the
function.
- Follow these steps to maintain the onPageLoad function:
- Click inside the JSP.
- Click onPageLoad in the event pane (left pane) of the Quick Edit
view.
- The onPageLoad function displays in the script editor (right pane) of the
Quick Edit view. Any changes you make to the code are reflected in the
page handler.
Related concepts
PageHandler part
Related reference
PageHandler part in EGL source format
[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.