I'm trying to have a sample Liferay
portlet
that displays some dummy text under HELP MODE
.
In my portlet.xml file (relevant part) :
<supports>
<mime-type>text/html</mime-type>
<portlet-mode>help</portlet-mode>
<portlet-mode>view</portlet-mode>
</supports>
In my class that extends GenericPortlet
(relevant) :
@Override
protected void doHelp(RenderRequest request, RenderResponse response) throws PortletException, IOException
{
PrintWriter writer = response.getWriter();
writer.write("Do Help");
}
However, When I launch my portlet under Liferay, I can't figure why there is no help icon displayed.
Am I missing something ?
Restarting the server did the trick... redeploying didn't work.
Probably some cache issues