How to Implement Fire/Listen Events in WebCenter Portlets when Moving Portlets from WebLogic Portal to WebCenter? (Doc ID 1358608.1)

Last updated on JUNE 12, 2017

Applies to:

Oracle WebCenter Portal - Version 11.1.1.4.0 to 11.1.1.6.0 [Release 11g]
Information in this document applies to any platform.
Checked for relevance on 28-Oct-2013

Goal

This note provides a suggestion to implement fire/listen events in WebCenter Portlets when moving portlets from WebLogic Portal to WebCenter Portal.
Specifically, how to convert this code from WebLogic Portal Framework to WebCenter Portal Framework:

import com.bea.netuix.events.CustomEvent;
import com.bea.wsrp.ext.holders.MarkupRequestState;
import com.bea.wsrp.ext.holders.SimpleStateHolder;

com.bea.netuix.servlets.controls.portlet.backing.PortletBackingContext contextnew = com.bea.netuix.servlets.controls.portlet.backing.PortletBackingContext.getPortletBackingContext(httpRequest);
contextnew.fireCustomEvent("searchEvent", searchVO);

  


Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms