This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
Hi all, I am new to Portlets and confused about the Portlet Session Scope. Shall appreciate if any one could explain this to me.
Here is my understanding of the Portlet Session Scope. 1. If the Portlet Session Scope is set to "Application Scope", the attributes are visible to all portlets of the same WAR-file. Am I correct?
1.a. Is it visible to all portlet windows of the portlets of the same WAR-file across different pages of the same portal?
2. If set to "Portlet Scope", the attributes are accessible/visible only in the same Portlet?
2.a. Does this hold good for all windows of the same Portlet across pages in the same portal?
Your replies can be in refernce to either JSR-168 based, JSR-286 based or IBM Portlet APIs.
Thank you very much in advance.
Best regards, NRao
Work will teach you how to do it!<br />----------------------
1. If the Portlet Session Scope is set to "Application Scope", the attributes are visible to all portlets of the same WAR-file. Am I correct? YES--You are correct. 1.a. Is it visible to all portlet windows of the portlets of the same WAR-file across different pages of the same portal? It is visible across all pages of the portal. 2. If set to "Portlet Scope", the attributes are accessible/visible only in the same Portlet? Yes-they are only accessible for that portlet. 2.a. Does this hold good for all windows of the same Portlet across pages in the same portal? Yes.
Originally posted by pulijalahari: 1. If the Portlet Session Scope is set to "Application Scope", the attributes are visible to all portlets of the same WAR-file. Am I correct? YES--You are correct. 1.a. Is it visible to all portlet windows of the portlets of the same WAR-file across different pages of the same portal? It is visible across all pages of the portal. 2. If set to "Portlet Scope", the attributes are accessible/visible only in the same Portlet? Yes-they are only accessible for that portlet. 2.a. Does this hold good for all windows of the same Portlet across pages in the same portal? Yes.
Dear Hari, Thank you for your inputs. They are indeed very helpful. Best Wishes, Rao