Q1) I used Pluto as my portlet container, and i generated a session with "application scope" , but i found other portlets cannot get the sesssion. I wonder whether it's a bug of Pluto or me? :-) Q2) And what's diff between ActionRequest & RenderRequest ? When use them? Thanks!
Variables set for the "application" scope of Session will only be seen by portlets within the same "portal application" (aka WAR file).
Also, the Render Request is what is passed on a Render URL. A Render URL is a direct link to another view/page. The Rendering may involve reading data from a database.
The Action Request is from an Action URL. Action URL are associated with a submission from a form. So, if you click a button, you are likely initiating an action. Typical stuff done inside the processAction method would be validation and persistence.
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop