wood burning stoves 2.0*
The moose likes Portals and Portlets and the fly likes Share Variables using Oracle Portal 10.1.3.3 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 10.1.3.3" Watch "Share Variables using Oracle Portal 10.1.3.3" New topic
Author

Share Variables using Oracle Portal 10.1.3.3

jgreg jgrege
Greenhorn

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

PageA

<form name="<%=Form1%>"
method="POST"
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%>"/>
</form>

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

any help will be greatly appreciated
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Share Variables using Oracle Portal 10.1.3.3