Step 2. Set up the ShowPage web page design
WAM060 - Employee Maintenance using Advanced Weblets
1. Open the ShowPage WebRoutine in the view.
It should look like the following:
2. Click anywhere in the table containing department code and using the context menu select the 3 columns.
option, to adda. Move the section code and its label into the 3rd and 4th columns (top row), using drag and drop.
b. Drop a push button with image into the 5th cell, top row
c. Click in the bottom row, and use the context menu,
to delete this row.d. Click in the cell containing the
label, if necessary use the cursor keys to ensure you are in the table cell (<td> tag) and use the tab to change its to caption.e. Select the caption.
label and delete it. Type Department: into the cell. Change the cell tof. Select the
label and delete it. Type Section: into this cell.g. Select each of the new cells using the cursor keys, and delete the * place holder characters.
h.Save your changes.
3. Select the push button and set up its properties on the Details tab:
|
4. Select the table and changes its
property to center. You should be able to click on a corner of the table to select it.5. Save your changes
Your page should look like the following:
6. Drag and drop a Dynamic Select Box onto the field DEPTMENT, set up its properties as shown:
|
Adjust the width of the dynamic select box.
7. Drag and drop a Dynamic Select Box onto the field SECTION and set up its properties as shown:
|
Adjust the width of the dynamic select box.
Complete the
property by clicking on the Ellipsis button in the value column, to open the dialog.a. Select DEPTMENT in the
column.b. Select the DEPTMENT in the column.
checkbox and enter
8. Save your changes.
9. Execute the ShowPage WebRoutine in the browser.
- Changing selected department should refresh the section's dropdown list.
- The Search button should populate the list of employees.