You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Olivier VIGNON <o....@laposte.net> on 2006/12/04 21:50:23 UTC

Getting portlet title using Ajax API

Hi,

I’d like to get a portlet title using Ajax; does anyone know how to do 
that, if it’s possible ? The Ajax API doesn’t seem to offer this service.

Thanks.


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


RE: Getting portlet title using Ajax API

Posted by Steve Milek <s....@comcast.net>.
Because the portlet title can be set during render (RenderResponse), the
only time that we can obtain it is just after completion of portlet
rendering. There is no ajaxapi that renders a portlet, but there is the
portlet pipeline.

In order to make the portlet title available to jetspeed desktop, we have
added it as an HTTP header to the portlet pipeline response. So, for
example, the response to this portlet pipeline request,

    /jetspeed/portlet?entity=dp-7-multisized&portlet=demo::PickANumberPortle
t

contains an HTTP response header which looks like this:

    JS_PORTLET_TITLE: Pick a Number



-----Original Message-----
From: Olivier VIGNON [mailto:o.vignon@laposte.net]
Sent: Monday, December 04, 2006 1:50 PM
To: jetspeed-user@portals.apache.org
Subject: Getting portlet title using Ajax API


Hi,

I’d like to get a portlet title using Ajax; does anyone know how to do
that, if it’s possible ? The Ajax API doesn’t seem to offer this service.

Thanks.


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


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