| Author |
Changing the portlet title dynamically.
|
|
|
| Hi All,
Is there a way to change the portlet content & title dynamically based on a event ?
Thanks in advance
karthik
| |
| Brian J. Sayatovic 2005-09-26, 6:04 pm |
| I believe your portlet can implement PortletTitleListener.
Regards,
Brian.
<karthikeyan.subramaniam@caritor.com> wrote in message
news:1089884825.1127752060071.JavaMail.wassrvr@ltsgwas007.sby.ibm.com...
> Hi All,
> Is there a way to change the portlet content & title dynamically
based on a event ?
>
> Thanks in advance
> karthik
>
>
>
| |
|
| Thanks for your help Brian, can you suggest us some tutorials that talks about changing the portlet titles dynamically?
Regards
karthik
| |
| Uwe Roland 2005-09-27, 5:57 pm |
| karthikeyan.subramaniam@caritor.com wrote:
> Thanks for your help Brian, can you suggest us some tutorials that talks about changing the portlet titles dynamically?
>
> Regards
> karthik
>
public void doTitle(PortletRequest request, PortletResponse response)
throws PortletException, IOException {
response.getWriter.print("Here comes the new titel ...");
}
That's all ...
cu Uwe
| |
| norrism 2005-09-28, 7:59 am |
| Additional Info regarding Dynamic Titles in Portal 5.1:
Regarding JSR 168 Portlets - the RenderResponse.setTitle(java.lang.String title)method is not supported by WebSphere Portal 5.1.x. As such, the implementation of the JSR 168 portlet container does not support dynamic titles for WebSphere Portal. This af
fects WSRP portlet behavior since the WSRP proxy portlet is written according to the JSR 168 portlet API. Dynamic titles do not work, even if the remote portlet is written according to the IBM Version 4.x portlet API. This includes calls to the methods o
f the IBM Version 4.x portlet API PortletTitleListener interface.
|
|
|
|