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”.
Creating a listener
Click the down arrow beside the Post Process button and select Define Listeners to launch the Listener Editor.
When the Listener Editor displays, complete these options:
List of Events – select the event to which you want this listener assigned.
Event Name – select an event from the List of Events drop-down list, or enter a name manually in this field.
Do
not using spaces in event names.
Listener Param – select the overridden CGI parameter that you want to associate with the selected event.
Auto Submit – when Auto Submit is enabled, a listener portlet re-executes when it receives an event. If Auto Submit is disabled, the portlet does not re-execute immediately.
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. |
![]() |