This content has been marked as final.
Show 4 replies
-
1. Re: Portlet title not working for my own portlet
tschmidt2 Nov 20, 2005 6:48 AM (in response to tschmidt2)I just realized a possible connection, the maximize/minimize/normal buttons do not have an effect either (contrary to the helloworld portlet). I really don't understand this, the only real difference is some naming changes and more portlet sourcecode...
-
2. Re: Portlet title not working for my own portlet
julien1 Nov 20, 2005 8:04 AM (in response to tschmidt2)does your portlet extends javax.portlet.GenericPortlet ?
-
3. Re: Portlet title not working for my own portlet
tschmidt2 Nov 21, 2005 3:55 AM (in response to tschmidt2)Hello,
actually I was implementing javax.portlet.Portlet. Now I changed that to extend GenericPortlets. Since I'm overriding the render method (which obviously is the reason for not showing up the title in the first place) I now tried to call the super.render method, however this doesnt work either.
Greetings Thorsten -
4. Re: Portlet title not working for my own portlet
mholzner Nov 21, 2005 9:51 AM (in response to tschmidt2)are you overwriting the init(PortletConfig config) method ? If so, don't forget to call super() there.
public void init(PortletConfig config) throws PortletException { super(config); // ......... }
the config holds the information about the title, so if you don't propagate it, the title won't be available to the portal.