This week's giveaway is in the Programmer Certification (OCPJP) forum.
We're giving away four copies of Java Mock Exams (software) and have David Mayer on-line!
See this thread for details.
Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Portlet Data sharing using liferay and icefaces

 
Mary Cole
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Am using liferay 1.8.2 and liferay 5.2. I have many portlets in differnt war files and I tried the examples in the liferay docs as to how to share data between differnet portlets across multiple wars with no succcess.

1) With sesssion sharing , I was not able to get the data from the first portlet to the second portlet, even thou the data was in the portletsession application scope.
2) When I use the even based mechanism, I get an error when I use the and tags I get an error when I use the
tags


Can anybody suggest with detailed explaination and sample code , how I can achieve IPC between portlets residing across different WAR using icefaces and liferay

Thanks in advance
 
Mary Cole
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Am using liferay 1.8.2 and liferay 5.2. I have many portlets in differnt war files and I tried the examples in the liferay docs as to how to share data between differnet portlets across multiple wars with no succcess.

1) With sesssion sharing , I was not able to get the data from the first portlet to the second portlet, even thou the data was in the portletsession application scope.
2) When I use the even based mechanism, I get an error when I use the and tags I get an error when I use the
tags


Portlet.xml for Portlet1 is



Portlet1.java



param1.jspx



portlet2 portal.xml



Portlet2.java

Am trying to get the values of the paramTerm in my bean, but the portlet1 is only not loading up.
please note both these 2 portlets are in different WAR

Can anybody suggest if am missing something?
Thanks in advance
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!