How to Set Portlet Parameter during IPC between JSR 286 and JSP portlets? (Doc ID 1274230.1)

Last updated on FEBRUARY 22, 2017

Applies to:

Oracle WebLogic Portal - Version 10.3.2 and later
Information in this document applies to any platform.

Goal

You can fire an event from a JSR 286 portlet and the event is caught in a function in the .jsp. (function is listed below). The value from the event is used as the function parameter. The function creates an ActionURL that is used to call the processAction() method. The issues that comes up is the parameter value is not getting set for the <portlet:param> value.

function handleProducerEvent(txt) {

alert("portlet-view.jsp handleProducerEvent enter: " + txt);
<portlet:actionURL var="nextURL">
<portlet:param name="sampleParameter" value="${txt}"/>
</portlet:actionURL>
window.parent.location="${nextURL}";
}

The goal of this document is discussing why this parameter value is not getting set?

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