File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
jQuery in Action, 3rd edition