Setting up events on a page

An event is something that happens when a link or button is clicked in a portlet. A portlet's events are specified in the provider.xml file. For information about how to add events to your portlets, see the Portal Developer Kit on the Oracle Technology Network.

NoteTo set up events on a page, you must have at least one of the following privileges:

You can set up events only on Standard or Mobile pages or pages of a custom type based on the Standard page type.

To set up events on a page:

  1. In the Navigator, click Properties next to the page with which you want to work.

  2. Click the Events tab.

    Tip: If you cannot see the Events tab, the parameters and events page group setting has not been enabled.

  3. Click the name of the portlet for whose events you want to specify an action.

    Note: If a portlet does not have any events, you cannot expand it in the list.

    Tip: If you want to show the events for all the portlets on the page, click Expand All.

  4. Click the event for which you want to specify an action.

  5. Select:

  6. The Page Input section lists the page parameters defined for the page you selected in the previous step.

  7. For each page parameter:

    1. In the value type list choose:

      • None if you do not want to provide a value for the page parameter.

      • Event Output to pass the value of one of the portlet event output parameters to the page parameter when the event occurs.

      • System Variable to pass the value of a system variable to the page parameter when the event occurs.

      • Constant to pass a specific value to the page parameter when the event occurs.

    2. In the value field or list:

      • If you are using Internet Explorer: Choose the event output parameter or system variable whose value you want to pass to the page parameter, or enter the constant value.

      • If you are using Netscape Navigator: Enter the name of the event output parameter or system variable whose value you want to pass to the page parameter, or enter the constant value. If you are not sure of the name of the event output parameter or system variable, click and select one from the list provided.

  8. Click OK to return to the Navigator.

Related topics

Creating a page