Home » Fusion Middleware & Colab Suite » WebCenter Suite & Portal » Portal Parameter Help, pls
Portal Parameter Help, pls [message #111309] Tue, 15 March 2005 10:14
Messages: 1
Registered: March 2005
Location: Reston
Junior Member

I am developing several portlets which will be deployed onto their own respective portal pages. They have the basic functions as you can find in OIDDAS. I am familuar with JSPs, but have had some troubles converting the same functionality to Portal. I have had success using events to redirect a portal from one page to the next via buttons, however I have not had success passing parameters that the user enters.

In the provider.xml, I have added both <inputParameter> myParam and tried <event> <parameter> myParam...
<inputParameter class="oracle.portal.provider.v2.DefaultParameterDefinition">
<displayName>my Parameter</displayName>
<event class="oracle.portal.provider.v2.DefaultEventDefinition">
<parameter class="oracle.portal.provider.v2.DefaultParameterDefinition">
<displayName>my Parameter</displayName>

I have also set up the page properties to add a page Parameter "myParam" and associate the event with "Go to page: myPage", the parameter the event output and my page parameter.

My portlet looks something like this...

// event3 moves to AccountUpdated
NameValue[] event3 = new NameValue[1];
event3[0] = new NameValue(EventUtils.eventName("ForwardEvent"), "");
if( pReq.getParameter("myParam")!=null )
// do stuff
%>window.location="<%=UrlUtils.constructLink(pReq, pReq.getRenderContext().getEventURL(), event3, true, true)%>";<%
<form id="alterAccount" name="alterAccount" method="get">
<input type="text" id="myParam" name="myParam">

Any help, please!! This issue is on a deadline.
Previous Topic: How to edit iSQLPlus and Webcache logon screen?
Next Topic: URL from Discoverer Worksheet Column
Goto Forum:

Current Time: Sun Aug 14 16:56:13 CDT 2022