Hi,

        For inter-portlet communication, I am using the session objects. But the
problem is that the other portlets in the pane doesn't get refreshed and
hence it doesn't get a chance to access the session data.

        I'll try Frans's suggestion of changing the refresh rate. But wouldn't all
the portlets get refreshed in that case which would drastically slow it
down. Is there a way to change the refresh rate for only selected portlets
or all the portlets in a given pane

Thanks,
Sony


-----Original Message-----
From: Raphael Luta [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 03, 2001 12:28 AM
To: [EMAIL PROTECTED]
Subject: Re: Multiple velocity portlets


Sony Joseph wrote:

> Hi,
>
>       I have multiple velocity portlets in one of the panes in my tabbed
control.
> When data in one portlet changes, I want the other portlets to change too.
> Currently it seems like the other portlets don't change. Is there a way I
> can trigger the other portlets to get refreshed too? Also, can I direct
the
> user to another tabbed pane, when a user cliks on a link in one of the
> portlets.
>


About inter-portlet communication, in the current API there's no formalized
inter-portlet API, but if you want to share information between instances of
the same portlet in the same page, just share session objects and you're
set...

About the pane links:

you'll have a portability issue: Jetspeed engine does not make any
assumption
on the layout of you page (especially whether you have a pane or not). If
you
code this inside you portlet, you may severely limit your customization and
portability options for this portlet; pane management is supposed to be
driven
by the user, not the portlets...
That said, if you want assume that you'll always have a paned controller as
the
root set for your page, you can do the following thing in your portlet:

Profile profile = ((JetspeedRunData)rundata).getProfile();
PanedPortletController ctler = (PanedPortletController)profile.getRootSet()
                                                              .getController()

and use the methods of the PanedPortletController interface.


Of course, this is for current CVS.

--
Raphael Luta - [EMAIL PROTECTED]
Vivendi Universal Networks - Paris


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to