Win a copy of Beginning Java 17 Fundamentals: Object-Oriented Programming in Java 17 this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

how to restore initial state of JSF Portlets when we navigate back to a PORTAL Page

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am having an issue of maintaining initial state in portlets (JSF) when we navigate from one page to other in portal.

In Weblogic Portal Server 8.1 (SP5), whenever we are making any navigations within a Java Portlet based on JSF, the portlet retains the state of the last navigated jsp.
After that, even if we click a link and navigate to some other portal page,on coming back to the previous portlet,the lastly navigated jsp is rendered.

For example,
1. We open Portlet A in Portal main page which has A.jsp as its INIT VIEW in portlet.xml
2. From A.jsp we make a submit and navigate to B.jsp within Portlet A.
3. Now we go another page which takes us to Portlet B.
4. We come back to Portlet A in previous page
Now Portlet A loads with the lastly navigated B.jsp instead of A.jsp.
5. It is impossible to reach A.jsp within Portlet A.

Is there any configuration change required so that we can specify that on load of "FIRST PORTAL Page", all portlets are in the initial view mode, and not where it was navigated previously ?
 
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic