Adding events  Adding charts

Chapter 5: Advanced Portlet Creation

Adding listeners

You can add listeners only to portlets with parameters. Portlets with listeners must be saved with the Iframe attribute.

The Listener Editor lets you assign multiple parameters to event names. The portlet is saved under its current version number, regardless of whether the global versioning property is set to “on”.

StepsCreating a listener

  1. Click the down arrow beside the Post Process button and select Define Listeners to launch the Listener Editor.

  2. When the Listener Editor displays, complete these options:

  3. Click the plus sign to add the association with the selected event or the X sign to remove any associations that have already been made.

Once you assign one or more parameters to event, parameter-to-event mapping is listed under the portlet name in the Application Builder in a hierarchy.





Copyright © 2004. Sybase Inc. All rights reserved. Adding charts

View this book as PDF