This week's giveaway is in the Spring forum.
We're giving away four copies of REST with Spring (video course) and have Eugen Paraschiv on-line!
See this thread for details.
The moose likes Portals and Portlets and the fly likes Share Variables using Oracle Portal Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Portals and Portlets
Bookmark "Share Variables using Oracle Portal" Watch "Share Variables using Oracle Portal" New topic

Share Variables using Oracle Portal

jgreg jgrege

Joined: Mar 14, 2011
Posts: 1
Hi, all im kind of new working with portals and portlets, and at my work we are using oracle portal, my question is, there's any way of share variables between pages within the same portlet, beacuse right now we do this by passing it as hidden fields to the other page

i mean


<form name="<%=Form1%>"
action="<%= UrlUtils.htmlFormActionLink(pReq,UrlUtils.PAGE_LINK) %>">
<%= UrlUtils.htmlFormHiddenFields(pReq,UrlUtils.PAGE_LINK, Form1)%>
<%= UrlUtils.emitHiddenField(HttpPortletRendererUtil.portletParameter(request, "next_page"),"/htdocs/myporlet/PageAjsp" ) %>
<input name="<%=field1%>" type="hidden" value="<%=field1value%>"/>
<input name="<%=field2%>" type="hidden" value="<%=field2value%>"/>

and i have to have the same on the second page,

any help will be greatly appreciated
I agree. Here's the link:
subject: Share Variables using Oracle Portal
It's not a secret anymore!