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 Frank Otto <ot...@delta-barth.de> on 2009/08/25 13:43:31 UTC
portlet title
Hi,
I have defined my portlet name in portlet.xml (display-name). Can I
change the portlet title at runtime (for example with ajaxapi)?
kind regards,
Frank
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org
Re: portlet title
Posted by David Sean Taylor <d....@onehippo.com>.
On Aug 25, 2009, at 4:43 AM, Frank Otto wrote:
> Hi,
>
> I have defined my portlet name in portlet.xml (display-name). Can I
> change the portlet title at runtime (for example with ajaxapi)?
The Portlet API provides a standard way to do set a portlets title on
the renderResponse:
response.setTitle("My Portlet Title");
http://www.bluesunrise.com/portlet-api/javax/portlet/RenderResponse.html#setTitle%28java.lang.String%29
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org