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

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">
<name>myParam</name>
<displayName>my Parameter</displayName>
</inputParameter>
<event class="oracle.portal.provider.v2.DefaultEventDefinition">
<name>myEvent</name>
<displayName>Errors</displayName>
<parameter class="oracle.portal.provider.v2.DefaultParameterDefinition">
<name>myParam</name>
<displayName>my Parameter</displayName>
</parameter>
</event>

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)%>";<%
}
%>
<html>
<body>
<form id="alterAccount" name="alterAccount" method="get">
<input type="text" id="myParam" name="myParam">
</form>
</body>
</html>


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: Thu Mar 28 15:04:07 CDT 2024