How to pass portlet param name from a Javascript to the action phase of a portlet ?

Solution Unverified - Updated -

Issue

  • How to get form name in action phase when portlet param is passed through a JavaScript.

  • There is a page which creates a URL in javascript.

formObj.action = "<portlet:actionURL><portlet:param name='MyForm' value='submit'/></portlet:actionURL>";

The form is submitted but in the processAction() value is returned null

 ActionRequest.getParameter("MyForm").

Environment

  • Red Hat JBoss Portal (JPP)
    • 6.0 GA

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content