• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Anybody here knew JSR168 or Pluto??

 
Javan Li
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm gotta some questions about session of portlet.
 
Chad McGowan
Ranch Hand
Posts: 265
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's your question?
 
Javan Li
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Mike Farnham
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Javan,

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.

Cheers,
Mike
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic