Win a copy of Kubernetes in Action this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Share Variables using Oracle Portal 10.1.3.3  RSS feed

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!