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:[EMAIL PROTECTED]
Sent: Monday, December 04, 2006 1:50 PM
To: [email protected]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]