[
https://jira.jboss.org/browse/GTNPORTAL-1122?page=com.atlassian.jira.plug...
]
kien nguyen commented on GTNPORTAL-1122:
----------------------------------------
We found two solutions:
1. Only support one icon for all skins and to have more meaning by moving icons out of
DefaultSkin folder such as skin/portletIcons/PortletName.png
2. ApplicationRegistryServiceImpl.getApplicationIconURL don't return full URL as
currently, the shorter URL will be returned and on UI level will append skin dependency
folder to URL.
Both affect so much to other products that are using GateIn and Skin extension, so we
temporarily make pending this issue?
Portlet icons locations need to be skin independent [or dependent]
------------------------------------------------------------------
Key: GTNPORTAL-1122
URL:
https://jira.jboss.org/browse/GTNPORTAL-1122
Project: GateIn Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Reporter: Matt Wringe
Assignee: kien nguyen
Fix For: 3.2.0-GA
Original Estimate: 1 day
Remaining Estimate: 1 day
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/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira