This content has been marked as final.
Show 1 reply
-
1. Re: Portlet title bar, help button question
peterj Jul 20, 2007 5:47 PM (in response to sunithavy)Looks like the text is hard-coded into ./theme/src/main/org/jboss/portal/theme/impl/render/div/DivDecorationRenderer.java:
for (Iterator i = modesOrStates.iterator(); i.hasNext();) { ActionRendererContext action = (ActionRendererContext)i.next(); if (action.isEnabled()) { PrintWriter out = ctx.getWriter(); out.print("<span title=\""); out.print(action.getName()); out.print("\"><a class=\"portlet-mode-"); out.print(action.getName()); out.print("\" href=\""); out.print(action.getURL()); out.print("\"> </a></span>"); } }
It appears that the value supplied for the 'title' attribute is the same as the state - "help" in this case. Not very localizable, is it?
P.S. You never said which version of Portal, so I assumed 2.6.