Creating events  Creating an event for employee information

Chapter 1: Developer Features

Creating an event for department information

In this procedure, create an event to display department information extracted from the sampledb database.

StepsCreating an event for department information

  1. From Web Studio, select Portlet from the Build menu in the left pane, and select Approved under Portlet Manager.

  2. From the list of approved portlets that displays in the detail pane, right-click SSCA Master and select Define Events.

    The Define ClickAcross Events window appears showing a grid with two columns – Dept Name and Dept Head.

  3. Click Select to the left of the grid, then click Next.

    The Assign and Edit Events window appears, which displays the grid rows and columns, along with options to define events on one or more of the grid cells.

  4. Create a server-side event that associates the cells in column 1 (Dept Name) with the SSCA Department portlet. Complete the Assign An Event options:

  5. Create a server-side event that associates the cells in column 2 (Dept Head) with the SSCA Employees portlet. Under Assign Event For, complete these options:

  6. Click Next.

  7. From the Preview window, click Finish.

  8. To preview the multipage portlet, select Approved under the Portlet Manager Status menu, select the SSCA Master portlet in the detail pane, and click the Preview button. Click Finance to display the employees in the Finance department, or click Mary Anne Shea to display her employee information.





Copyright © 2004. Sybase Inc. All rights reserved. Creating an event for employee information

View this book as PDF