Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Inter Portlet communication

 
priyaranjan singh
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hi,

I am new in developing portlet application. i want to prepare a demo for inter portlet communication in which when we click a link in first portlet its effect should be shown in second portlets.But does not have any idea how to implement this, can any one help me to solve this issue or provide me any working example to overcome this issue.

i am using jboss 2.7.2 portal server.

Thanks,
Ranjan
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, with JSR168, we don't really have inter-portlet communication. If portlets are in a common war file, you can share information through the application scope of the PortletSession, but that's about it.

Remember, portlets are intended to be isolated little content spots. They're not really supposed to depend upon each other for communication. For what you're doing, you might just want to have one portlet instead.

-Cameron McKenzie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic