[gatein-issues] [JBoss JIRA] Created: (GTNPORTAL-1122) Portlet icons locations need to be skin independent [or dependent]

Matt Wringe (JIRA) jira-events at lists.jboss.org
Fri Apr 23 18:22:10 EDT 2010


Portlet icons locations need to be skin independent [or dependent]
------------------------------------------------------------------

                 Key: GTNPORTAL-1122
                 URL: https://jira.jboss.org/jira/browse/GTNPORTAL-1122
             Project: GateIn Portal
          Issue Type: Bug
      Security Level: Public (Everyone can see)
            Reporter: Matt Wringe


If a portlet wants to have a custom icon shown in the application registry or in the page editor, then they can place a png in a special location.

Currently this location is:
skin/DefaultSkin/portletIcons/PortletName.png

But this icon is shown for all skins, regardless if its the DefaultSkin or not (see ApplicationRegistryServiceImpl.getApplicationIconURL for where its hardcoded to this)

This location should be changed to a location which doesn't mention DefaultSkin, or it should be changed so that it is dependent on the current portal skin (for example skin/SimpleSkin/portleticons/PortletName.png would be the icon if the current portal skin is the SimpleSkin).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the gatein-issues mailing list