portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "MATSUDA Masaaki" <m.mats...@appliedjapan.com>
Subject Re:Re: Inter Portlet Communication
Date Thu, 01 Jul 2004 13:50:50 GMT
Hello,

I'm interested in this question.

>Assuming you're using J1, you can simply share data between your 
>portlets using the session.
>Simply have your link invoke an action in Portlet 1, that will set a 
>session or request parameter that is
>expected by Portlet 2.


The idea of using session is the easiest way, I think too.
But, there is a trouble.

For example : 
There are two portlets on the screen,

-------------------------------- 
[Title : The news portlet      ]
--------------------------------
 1. Jetspeed1 new feature added!
 2. Hot Jetspeed2 story.

-------------------------------- 
[Title : News count portlet    ]
--------------------------------
 Today's news are [ 2 ].
--------------------------------

Looks good.
There is 2 news...

Of cource the upper portlet is setting session 
attribute of news count, and lower portlet is showing 
the session value.

But,...
Is it normal to show the news count upper?!
I changed the portlet layout, then trouble has occur!

-------------------------------- 
[Title : News count portlet    ]
--------------------------------
 Today's news are [ null ].

-------------------------------- 
[Title : The news portlet      ]
--------------------------------
 1. Jetspeed1 new feature added!
 2. Hot Jetspeed2 story.
--------------------------------

The news count is null :-P
Very sad...
I could understand there is executing sequence of portlet 
action. Normally, upper on the screen is first.


...Then, what can I do to solve this trouble?


Regards,
MATSUDA Masaaki.


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org


Mime
View raw message